aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2021-11-24 23:25:54 +0000
committerJakub Kicinski <[email protected]>2021-11-26 03:28:16 +0000
commite062fe99cccd9ff9f232e593d163ecabd244fae8 (patch)
treec9ac3710974c011a7ecf2a94e105756b8deb59fc /net/unix/af_unix.c
parentselftests: tls: test splicing cmsgs (diff)
downloadkernel-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