]> err.no Git - linux-2.6/commit
[IPV6]: Fix [Bug 5306] Oops on IPv6 route lookup
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 26 Sep 2005 22:10:16 +0000 (15:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Sep 2005 22:10:16 +0000 (15:10 -0700)
commitc62dba9011b93fd88fde929848582b2a98309878
tree66273f4c7f4fa1867d777904a88cb9e3a7bd27e1
parentacd042bb2de50d4e6fb969281a00cc8b8b71e46d
[IPV6]: Fix [Bug 5306] Oops on IPv6 route lookup

> Steps to reproduce:
> 1. Boot Linux, do NOT setup any IPv6 routes
> 2. ip route get 2001::1 (or any unroutable address)

Well caught.  We never set rt6i_idev on ip6_null_entry.
This patch should make the problem go away.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c