]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit46b1a89c51f5fedf3de387e715b8e758e8d1dd2f
tree285f1767e04af9fc6b51676aefea2fba404e1b64
parent1d4dda8436224030933c72aa0b5f0b518f7c3c40
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