summaryrefslogtreecommitdiff
path: root/mm/sparse.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-05-24 10:34:33 -0700
committerDavid S. Miller <davem@davemloft.net>2019-05-26 21:47:13 -0700
commit043556d0917a1a5ea58795fe1656a2bce06d2649 (patch)
treece4abde20c9401e00bad96673194800c018a4cff /mm/sparse.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 <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions