Skip to content

tls: a few more fixes for async decrypt

Sabrina Dubroca 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 0 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4tls: decrement decrypt_pending if no async completion will be callednet/tls/tls_sw.c+2 -00 repliesApplied
2/4tls: fix peeking with sync+async decryptionnet/tls/tls_sw.c+6 -30 repliesApplied
3/4tls: separate no-async decryption request handling from asyncnet/tls/tls_sw.c+8 -50 repliesApplied
4/4tls: fix use-after-free on failed backlog decryptionnet/tls/tls_sw.c+17 -70 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/4] tls: a few more fixes for async decrypt

The previous patchset [1] took care of "full async". This adds a few fixes for cases where only part of the crypto operations go the async route, found by extending my previous debug patch [2] to do N synchronous operations followed by M asynchronous ops (with N and M configurable).

[1] https://patchwork.kernel.org/project/netdevbpf/list/?series=823784&state=*
[2] https://lore.kernel.org/all/9d664093b1bf7f47497b2c40b3a085b45f3274a2.1694021240.git.sd@queasysnail.net/

Sabrina Dubroca (4):
tls: decrement decrypt_pending if no async completion will be called
tls: fix peeking with sync+async decryption
tls: separate no-async decryption request handling from async
tls: fix use-after-free on failed backlog decryption

 net/tls/tls_sw.c | 40 +++++++++++++++++++++++++++++-----------
 1 file changed, 29 insertions(+), 11 deletions(-)
Signature · 1 line
2.43.0