]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: pmtu: maximum MTU for vti4 is 2^16-1-20
authorSabrina Dubroca <sd@queasysnail.net>
Thu, 30 Aug 2018 14:01:17 +0000 (16:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Sep 2018 06:14:20 +0000 (23:14 -0700)
commitdf230feaca0c2846ef0d2d3f75a5ff8877d9d4cf
tree2804503898df4686a33b35246048747fcc743a46
parent69de7c2ccf91612da64e35c575b8fe2a8ff4b652
selftests: pmtu: maximum MTU for vti4 is 2^16-1-20

Since commit 59c046516fc2 ("ip_tunnel: restore binding to ifaces with a
large mtu"), the maximum MTU for vti4 is based on IP_MAX_MTU instead of
the mysterious constant 0xFFF8.  This makes this selftest fail.

Fixes: 59c046516fc2 ("ip_tunnel: restore binding to ifaces with a large mtu")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Acked-by: Stefano Brivio <sbrivio@redhat.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/pmtu.sh