diff options
| author | Jakub Kicinski <[email protected]> | 2021-11-24 23:25:54 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-11-26 03:28:16 +0000 |
| commit | e062fe99cccd9ff9f232e593d163ecabd244fae8 (patch) | |
| tree | c9ac3710974c011a7ecf2a94e105756b8deb59fc /net/unix/af_unix.c | |
| parent | selftests: tls: test splicing cmsgs (diff) | |
| download | kernel-e062fe99cccd9ff9f232e593d163ecabd244fae8.tar.gz kernel-e062fe99cccd9ff9f232e593d163ecabd244fae8.zip | |
tls: splice_read: fix accessing pre-processed records
recvmsg() will put peek()ed and partially read records onto the rx_list.
splice_read() needs to consult that list otherwise it may miss data.
Align with recvmsg() and also put partially-read records onto rx_list.
tls_sw_advance_skb() is pretty pointless now and will be removed in
net-next.
Fixes: 692d7b5d1f91 ("tls: Fix recvmsg() to be able to peek across multiple records")
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
