Skip to content

tls: recvmsg fixes

Sabrina Dubroca linux-kselftest netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4tls: recv: process_rx_list shouldn't use an offset with kvecnet/tls/tls_sw.c+1 -11 replyApplied
2/4tls: adjust recv return with async crypto and failed copy to userspacenet/tls/tls_sw.c+3 -01 replyApplied
3/4selftests: tls: add test with a partially invalid iovtools/testing/selftests/net/tls.c+34 -01 replyApplied
4/4tls: get psock ref after taking rxlock to avoid leaknet/tls/tls_sw.c+1 -11 replyApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchSimon Horman
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/4] tls: recvmsg fixes

The first two fixes are again related to async decrypt. The last one is unrelated but I stumbled upon it while reading the code.

Sabrina Dubroca (4):
tls: recv: process_rx_list shouldn't use an offset with kvec
tls: adjust recv return with async crypto and failed copy to userspace
selftests: tls: add test with a partially invalid iov
tls: get psock ref after taking rxlock to avoid leak

 net/tls/tls_sw.c                  |  7 +++++--
 tools/testing/selftests/net/tls.c | 34 +++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+), 2 deletions(-)
Signature · 1 line
2.43.0