]> 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)
commita18e11e7be2e061862a343f4334f15645deebed8
tree432ae6ac0652ca70b457b9c81ea6cd3c49facb6e
parent69a0614fccffa46659dd68ae2102c0732f038574
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