selftests/tls: add test for poll() with data in TLS ULP
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 4 Jul 2019 21:50:37 +0000 (14:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Jul 2019 21:11:45 +0000 (14:11 -0700)
commit81a89ef6be5befcc5a168af1aca377670bbf4997
treeee1bc83e63eed2a16c89953b9c0675474f4748ba
parent13aecb17acabc2a92187d08f7ca93bb8aad62c6f
selftests/tls: add test for poll() with data in TLS ULP

Add a test which checks if leftover record data in TLS
layer correctly wakes up poll().

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/tls.c