aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c
diff options
context:
space:
mode:
authorMaciej Fijalkowski <[email protected]>2022-09-01 11:48:12 +0000
committerDaniel Borkmann <[email protected]>2022-09-02 13:38:03 +0000
commitc29fe883defcbc6cd16176787a2084b8e05dabf0 (patch)
treeb28c953ba80aee644f663ada90864b76c39392b7 /tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c
parentselftests/xsk: Add support for executing tests on physical device (diff)
downloadkernel-c29fe883defcbc6cd16176787a2084b8e05dabf0.tar.gz
kernel-c29fe883defcbc6cd16176787a2084b8e05dabf0.zip
selftests/xsk: Make sure single threaded test terminates
For single threaded poll tests call pthread_kill() from main thread so that we are sure worker thread has finished its job and it is possible to proceed with next test types from test suite. It was observed that on some platforms it takes a bit longer for worker thread to exit and next test case sees device as busy in this case. Signed-off-by: Maciej Fijalkowski <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Magnus Karlsson <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c')
0 files changed, 0 insertions, 0 deletions