]> 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)
commit89e5372852e195e9f2a4b56fbc2474157f47447e
tree2804503898df4686a33b35246048747fcc743a46
parentbb1448a891c1c925bc14b0d12b9741450645b62d
selftests: pmtu: maximum MTU for vti4 is 2^16-1-20

Since commit 855603d11a9c ("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: 855603d11a9c ("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