summaryrefslogtreecommitdiff
path: root/net/caif
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-05-22 20:37:44 +0000
committerDavid S. Miller <davem@davemloft.net>2010-05-23 23:11:07 -0700
commit53b0f08042f04813cd1a7473dacd3edfacb28eb3 (patch)
tree025244cdb7c4f0872f372564de2b82130fc7e867 /net/caif
parenta6c0f8217c17d46da22fa56923f3cbd03615cb7c (diff)
downloadlinux-3.10-53b0f08042f04813cd1a7473dacd3edfacb28eb3.tar.gz
linux-3.10-53b0f08042f04813cd1a7473dacd3edfacb28eb3.tar.bz2
linux-3.10-53b0f08042f04813cd1a7473dacd3edfacb28eb3.zip
net_sched: Fix qdisc_notify()
Ben Pfaff reported a kernel oops and provided a test program to reproduce it. https://kerneltrap.org/mailarchive/linux-netdev/2010/5/21/6277805 tc_fill_qdisc() should not be called for builtin qdisc, or it dereference a NULL pointer to get device ifindex. Fix is to always use tc_qdisc_dump_ignore() before calling tc_fill_qdisc(). Reported-by: Ben Pfaff <blp@nicira.com> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif')
0 files changed, 0 insertions, 0 deletions