This is a note to let you know that I've just added the patch titled
sch_sfb: Fix missing NULL check
to the 3.0-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
sch_sfb-fix-missing-null-check.patch
and it can be found in the queue-3.0 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From b41d7b4779e76ae90aa193ee848303ac47c68e74 Mon Sep 17 00:00:00 2001
From: Alan Cox <[email protected]>
Date: Thu, 12 Jul 2012 03:39:11 +0000
Subject: sch_sfb: Fix missing NULL check
From: Alan Cox <[email protected]>
[ Upstream commit 7ac2908e4b2edaec60e9090ddb4d9ceb76c05e7d ]
Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=44461
Signed-off-by: Alan Cox <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
net/sched/sch_sfb.c | 2 ++
1 file changed, 2 insertions(+)
--- a/net/sched/sch_sfb.c
+++ b/net/sched/sch_sfb.c
@@ -556,6 +556,8 @@ static int sfb_dump(struct Qdisc *sch, s
sch->qstats.backlog = q->qdisc->qstats.backlog;
opts = nla_nest_start(skb, TCA_OPTIONS);
+ if (opts == NULL)
+ goto nla_put_failure;
NLA_PUT(skb, TCA_SFB_PARMS, sizeof(opt), &opt);
return nla_nest_end(skb, opts);
Patches currently in stable-queue which might be from [email protected] are
queue-3.0/sch_sfb-fix-missing-null-check.patch
queue-3.0/wanmain-comparing-array-with-null.patch
queue-3.0/caif-fix-null-pointer-check.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html