selftests: pmtu: Add pmtu_vti4_default_mtu test
authorStefano Brivio <sbrivio@redhat.com>
Sat, 17 Mar 2018 01:31:42 +0000 (02:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Mar 2018 00:15:14 +0000 (20:15 -0400)
commita41c789bdcc1e3d8fe0d82ee80c22aa4f4508004
tree285f1767e04af9fc6b51676aefea2fba404e1b64
parent36455bd1e977ef1ccd8e89018bd14d0a5b96b4e5
selftests: pmtu: Add pmtu_vti4_default_mtu test

This test checks that the MTU assigned by default to a vti (IPv4)
interface created on top of veth is simply veth's MTU minus the
length of the encapsulated IPv4 header.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/pmtu.sh