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>
This commit is contained in:

committed by
David S. Miller

parent
a160725780
commit
e5b2d91c2d
@@ -14,3 +14,10 @@ echo "ipv6 cmsg"
|
||||
|
||||
echo "ipv6 setsockopt"
|
||||
./in_netns.sh ./udpgso -6 -C -s
|
||||
|
||||
echo "ipv4 connected"
|
||||
./in_netns.sh ./udpgso -4 -c
|
||||
|
||||
# blocked on 2nd loopback address
|
||||
# echo "ipv6 connected"
|
||||
# ./in_netns.sh ./udpgso -6 -c
|
||||
|
Reference in New Issue
Block a user