selftests/tls: add test for concurrent recv and send
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 5 Nov 2019 22:24:36 +0000 (14:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Nov 2019 01:33:32 +0000 (17:33 -0800)
commit41098af59d8d753aa8d3bb4310cc4ecb61fc82c7
treec15a43aa3ea0d35d17e7e2bcbadd19a07439bfd2
parent79ffe6087e9145d2377385cac48d0d6a6b4225a5
selftests/tls: add test for concurrent recv and send

Add a test which spawns 16 threads and performs concurrent
send and recv calls on the same socket.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/tls.c