]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c42642582b632cd51bd4316d0f539fea051ffdc
tree0a57a84f11635f90ffe6b5f4496422b2670b0247
parent7674674755ae3ae66abb028d37712fedbb6ac929
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