]> git.baikalelectronics.ru Git - kernel.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)
commit620b014c8485a4673daf24231ce1999f011fe1fa
tree432ae6ac0652ca70b457b9c81ea6cd3c49facb6e
parenta5a7f5b9acd0e8c9623efedbccf1f1f5ea1e156e
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