aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2019-05-24 10:34:33 -0700
committerDavid S. Miller <[email protected]>2019-05-26 21:47:13 -0700
commit043556d0917a1a5ea58795fe1656a2bce06d2649 (patch)
treece4abde20c9401e00bad96673194800c018a4cff /lib/memory-notifier-error-inject.c
parent04b25a5411f966c2e586909a8496553b71876fae (diff)
selftests/tls: add test for sleeping even though there is data
Add a test which sends 15 bytes of data, and then tries to read 10 byes twice. Previously the second read would sleep indifinitely, since the record was already decrypted and there is only 5 bytes left, not full 10. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Dirk van der Merwe <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions