pkt_sched: fix missing check for packet overrun in qdisc_dump_stab()
authorPatrick McHardy <kaber@trash.net>
Thu, 20 Nov 2008 12:07:14 +0000 (04:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Nov 2008 12:07:14 +0000 (04:07 -0800)
commit3aa4614da741f10b09559a5675c79e2eff5cccd8
tree0181c697123716bf574e7819854d373dc6ee18b8
parentf7f65d1e8bfaa92c1a419c2a52faeca835659295
pkt_sched: fix missing check for packet overrun in qdisc_dump_stab()

nla_nest_start() might return NULL, causing a NULL pointer dereference.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c