ipv6: recreate ipv6 link-local addresses when increasing MTU over IPV6_MIN_MTU
authorAlexander Duyck <aduyck@mirantis.com>
Mon, 26 Oct 2015 18:06:33 +0000 (11:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Oct 2015 09:11:07 +0000 (18:11 +0900)
commitb7b0b1d290cc89c39607dd47f8047e1071e65692
tree0a57a84f11635f90ffe6b5f4496422b2670b0247
parentee6259382ca8f723a2cc90841f903667c7720584
ipv6: recreate ipv6 link-local addresses when increasing MTU over IPV6_MIN_MTU

This change makes it so that we reinitialize the interface if the MTU is
increased back above IPV6_MIN_MTU and the interface is up.

Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c