summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_netem.c
diff options
context:
space:
mode:
authorDavid S. Miller2011-12-30 00:51:57 +0100
committerDavid S. Miller2011-12-30 00:51:57 +0100
commit8ade06c616b34b4237c0ed77d1ff0ce04ad7d056 (patch)
tree73cccfb3f6ca9cb8d2d9fcd9aed5a2bffb8ab49d /net/sched/sch_netem.c
parentvirtio_net: use non-reentrant workqueue. (diff)
downloadkernel-qcow2-linux-8ade06c616b34b4237c0ed77d1ff0ce04ad7d056.tar.gz
kernel-qcow2-linux-8ade06c616b34b4237c0ed77d1ff0ce04ad7d056.tar.xz
kernel-qcow2-linux-8ade06c616b34b4237c0ed77d1ff0ce04ad7d056.zip
ipv6: Fix neigh lookup using NULL device.
In some of the rt6_bind_neighbour() call sites, it hasn't hooked up the rt->dst.dev pointer yet, so we'd deref a NULL pointer when obtaining dev->ifindex for the neighbour hash function computation. Just pass the netdevice explicitly in to fix this problem. Reported-by: Bjarke Istrup Pedersen <gurligebis@gentoo.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_netem.c')
0 files changed, 0 insertions, 0 deletions