aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorGuillaume Nault <[email protected]>2023-05-11 16:39:32 +0200
committerDavid S. Miller <[email protected]>2023-05-12 09:43:56 +0100
commitdd017c72dde677cef5a5a965ca71ac4736b53452 (patch)
treef92c3d4f00a0d2e32300b9906cd27748332127d4 /tools/perf/scripts/python/sched-migration.py
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 <[email protected]> Reviewed-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions