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)
commit3ef0952ca85e28226b09a6d833c30e3e604a63c8
tree736c5ecb91f789a268c0ef3404c8c9d8c6476245
parent2f8364a291e8adde25c93f97a76abbcaf4b1ed3f
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