projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[IPV6]: Improve IPv6 tunnel error reporting
[powerpc.git]
/
net
/
sched
/
sch_gred.c
diff --git
a/net/sched/sch_gred.c
b/net/sched/sch_gred.c
index
0cafdd5
..
18e81a8
100644
(file)
--- a/
net/sched/sch_gred.c
+++ b/
net/sched/sch_gred.c
@@
-406,10
+406,9
@@
static inline int gred_change_vq(struct Qdisc *sch, int dp,
struct gred_sched_data *q;
if (table->tab[dp] == NULL) {
struct gred_sched_data *q;
if (table->tab[dp] == NULL) {
- table->tab[dp] = k
m
alloc(sizeof(*q), GFP_KERNEL);
+ table->tab[dp] = k
z
alloc(sizeof(*q), GFP_KERNEL);
if (table->tab[dp] == NULL)
return -ENOMEM;
if (table->tab[dp] == NULL)
return -ENOMEM;
- memset(table->tab[dp], 0, sizeof(*q));
}
q = table->tab[dp];
}
q = table->tab[dp];