summaryrefslogtreecommitdiff
path: root/drivers/misc/bcm-vk
diff options
context:
space:
mode:
authorGuillaume Nault <gnault@redhat.com>2023-05-11 16:39:32 +0200
committerDavid S. Miller <davem@davemloft.net>2023-05-12 09:43:56 +0100
commitdd017c72dde677cef5a5a965ca71ac4736b53452 (patch)
treef92c3d4f00a0d2e32300b9906cd27748332127d4 /drivers/misc/bcm-vk
parentaeefbb574c38025fd65a1b053c41595ba13b2408 (diff)
selftests: fcnal: Test SO_DONTROUTE on TCP sockets.
Use nettest --{client,server}-dontroute to test the kernel behaviour with TCP sockets having the SO_DONTROUTE option. Sending packets to a neighbour (on link) host, should work. When the host is behind a router, sending should fail. Client and server sockets are tested independently, so that we can cover different TCP kernel paths. SO_DONTROUTE also affects the syncookies path. So ipv4_tcp_dontroute() is made to work with or without syncookies, to cover both paths. Signed-off-by: Guillaume Nault <gnault@redhat.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/misc/bcm-vk')
0 files changed, 0 insertions, 0 deletions