]> git.baikalelectronics.ru Git - kernel.git/commit
vti6: Change minimum MTU to IPV4_MIN_MTU, vti6 can carry IPv4 too
authorStefano Brivio <sbrivio@redhat.com>
Thu, 26 Apr 2018 17:39:09 +0000 (19:39 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 27 Apr 2018 05:29:23 +0000 (07:29 +0200)
commit7fd25d81bb6b7c7d97538d03f6df199fed5ddfc0
tree4c0896b312731b897c82d2397173b234cc177795
parent45c7a9cbb02eace70eb84517dcf5aed09c018d53
vti6: Change minimum MTU to IPV4_MIN_MTU, vti6 can carry IPv4 too

A vti6 interface can carry IPv4 as well, so it makes no sense to
enforce a minimum MTU of IPV6_MIN_MTU.

If the user sets an MTU below IPV6_MIN_MTU, IPv6 will be
disabled on the interface, courtesy of addrconf_notify().

Reported-by: Xin Long <lucien.xin@gmail.com>
Fixes: fcce664d91c0 ("ipv4/6: use core net MTU range checking")
Fixes: 190056de5b6c ("vti6: Properly adjust vti6 MTU from MTU of lower device")
Fixes: f9f349b1bdd5 ("ip6_vti: adjust vti mtu according to mtu of lower device")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv6/ip6_vti.c