]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv6/addrconf.c
ipv6: Don't add routes to ipv6 disabled interfaces.
authorBrian Haley <brian.haley@hp.com>
Tue, 20 Jul 2010 10:34:30 +0000 (10:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jul 2010 20:41:32 +0000 (13:41 -0700)
commit64e724f62ab743d55229cd5e27ec8b068b68eb16
treecc73b4a138f1fa2585f8bc4cb44f91c6c5751cc7
parentbe2b6e62357dd7ee56bdcb05e54002afb4830292
ipv6: Don't add routes to ipv6 disabled interfaces.

If the interface has IPv6 disabled, don't add a multicast or
link-local route since we won't be adding a link-local address.

Reported-by: Mahesh Kelkar <maheshkelkar@gmail.com>
Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c