projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'devel'
[cascardo/linux.git]
/
net
/
sched
/
sch_sfb.c
diff --git
a/net/sched/sch_sfb.c
b/net/sched/sch_sfb.c
index
74305c8
..
30ea467
100644
(file)
--- a/
net/sched/sch_sfb.c
+++ b/
net/sched/sch_sfb.c
@@
-570,6
+570,8
@@
static int sfb_dump(struct Qdisc *sch, struct sk_buff *skb)
sch->qstats.backlog = q->qdisc->qstats.backlog;
opts = nla_nest_start(skb, TCA_OPTIONS);
+ if (opts == NULL)
+ goto nla_put_failure;
if (nla_put(skb, TCA_SFB_PARMS, sizeof(opt), &opt))
goto nla_put_failure;
return nla_nest_end(skb, opts);