From: David S. Miller Date: Thu, 29 Dec 2011 23:51:57 +0000 (-0500) Subject: ipv6: Fix neigh lookup using NULL device. X-Git-Tag: v3.3-rc1~182^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ade06c616b34b4237c0ed77d1ff0ce04ad7d056;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed