David S. Miller 8ade06c616 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>
2011-12-29 18:51:57 -05:00
..
2011-12-14 02:39:30 -05:00
2011-12-16 15:07:28 -05:00
2011-12-28 15:06:58 -05:00
2011-03-17 11:59:32 +11:00
2011-12-28 15:06:58 -05:00
2011-12-11 18:25:16 -05:00
2011-11-26 15:57:36 -05:00
2011-09-16 19:20:20 -04:00
2011-12-11 18:25:16 -05:00
2011-11-14 00:10:50 -05:00
2011-12-29 15:07:21 -05:00
2011-12-16 15:49:52 -05:00