diff options
author | Kui-Feng Lee <[email protected]> | 2023-01-25 12:16:08 -0800 |
---|---|---|
committer | Martin KaFai Lau <[email protected]> | 2023-01-25 15:10:34 -0800 |
commit | d1246f93602316e2dda1000f185e8d13dd611871 (patch) | |
tree | e6a226a832c43f673b2ea661b71e1afc005ad01e /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 2ab42c7b871f4e85f21e1a85dfa3f87e4d31221d (diff) |
selftests/bpf: Calls bpf_setsockopt() on a ktls enabled socket.
Ensures that whenever bpf_setsockopt() is called with the SOL_TCP
option on a ktls enabled socket, the call will be accepted by the
system. The provided test makes sure of this by performing an
examination when the server side socket is in the CLOSE_WAIT state. At
this stage, ktls is still enabled on the server socket and can be used
to test if bpf_setsockopt() works correctly with linux.
Signed-off-by: Kui-Feng Lee <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions