]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests: udp gso with connected sockets
authorWillem de Bruijn <willemb@google.com>
Thu, 26 Apr 2018 17:42:23 +0000 (13:42 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Apr 2018 19:09:52 +0000 (15:09 -0400)
commite5b2d91c2d12c197e9863def909a46302b45aa01
tree432ae6ac0652ca70b457b9c81ea6cd3c49facb6e
parenta160725780e3e086cf936722b0267408f17fceaa
selftests: udp gso with connected sockets

Connected sockets use path mtu instead of device mtu.

Test this path by inserting a route mtu that is lower than the device
mtu. Verify that the path mtu for the connection matches this lower
number, then run the same test as in the connectionless case.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/udpgso.c
tools/testing/selftests/net/udpgso.sh