]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: exit early in addrconf_notify() if IPv6 is disabled
authorWANG Cong <xiyou.wangcong@gmail.com>
Thu, 11 Sep 2014 22:07:16 +0000 (15:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Sep 2014 20:39:40 +0000 (16:39 -0400)
commitcabb3011aadc1f49421f5c0ec0e852648bc56ec5
tree08d86a30254963f1f8bfea4bc26d75022f65daa5
parent0372c903961657afe2cdbe4c0bab9afe0103f8df
ipv6: exit early in addrconf_notify() if IPv6 is disabled

If IPv6 is explicitly disabled before the interface comes up,
it makes no sense to continue when it comes up, even just
print a message.

(I am not sure about other cases though, so I prefer not to touch)

Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c