]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Only act upon NETDEV_*_TYPE_CHANGE if we have ipv6 addresses
authorAndrew Lunn <andrew@lunn.ch>
Thu, 3 Dec 2015 20:12:32 +0000 (21:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Dec 2015 22:41:42 +0000 (17:41 -0500)
commit77551eb1bdb0d296fc0e18c206d25e9bc40bf221
tree736c5ecb91f789a268c0ef3404c8c9d8c6476245
parenta1215429e1b41af5b2ab49645673bdd3190c147c
ipv6: Only act upon NETDEV_*_TYPE_CHANGE if we have ipv6 addresses

An interface changing type may not have IPv6 addresses. Don't
call the address configuration type change in this case.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c