Skip to content

tls: rx: strp: fix inline crypto offload

Jakub Kicinski 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 Latest7 patches 7 repliesApplied 7/7

Patches in v1 All 7 applied

#Subject and filesSizeRepliesApplied
1/7tls: rx: device: fix checking decryption statusnet/tls/tls_device.c+1 -11 replyApplied
2/7tls: rx: strp: set the skb->len of detached / CoW'ed skbsnet/tls/tls_strp.c+2 -01 replyApplied
3/7tls: rx: strp: force mixed decrypted records into copy modeinclude/linux/skbuff.h net/tls/tls_strp.c+21 -51 replyApplied
4/7tls: rx: strp: fix determining record length in copy modenet/tls/tls_strp.c+15 -61 replyApplied
5/7tls: rx: strp: factor out copying skb datanet/tls/tls_strp.c+23 -101 replyApplied
6/7tls: rx: strp: preserve decryption status of skbs when neededinclude/net/tls.h net/tls/tls.h net/tls/tls_device.c +1 more+114 -311 replyApplied
7/7tls: rx: strp: don't use GFP_KERNEL in softirq contextnet/tls/tls_sw.c+4 -01 replyApplied

Reviews trailers per patch

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

PatchShai AmiramSimon Horman
1/7T-b R-b
2/7T-b R-b
3/7T-b R-b
4/7T-b R-b
5/7T-b R-b
6/7T-b R-b
7/7T-b R-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/7] tls: rx: strp: fix inline crypto offload

The local strparser version I added to TLS does not preserve decryption status, which breaks inline crypto (NIC offload).

Jakub Kicinski (7):
tls: rx: device: fix checking decryption status
tls: rx: strp: set the skb->len of detached / CoW'ed skbs
tls: rx: strp: force mixed decrypted records into copy mode
tls: rx: strp: fix determining record length in copy mode
tls: rx: strp: factor out copying skb data
tls: rx: strp: preserve decryption status of skbs when needed
tls: rx: strp: don't use GFP_KERNEL in softirq context

 include/linux/skbuff.h |  10 +++
 include/net/tls.h      |   1 +
 net/tls/tls.h          |   5 ++
 net/tls/tls_device.c   |  22 ++---
 net/tls/tls_strp.c     | 185 +++++++++++++++++++++++++++++++++--------
 net/tls/tls_sw.c       |   4 +
 6 files changed, 177 insertions(+), 50 deletions(-)
Signature · 1 line
2.40.1