RFC tls: rx: strp: fix inline crypto offload
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest7 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | tls: rx: device: fix checking decryption statusnet/ | +1 | 0 replies | |
| 2/7 | tls: rx: strp: set the skb->len of detached / CoW'ed skbsnet/ | +2 | 1 reply | |
| 3/7 | tls: rx: strp: force mixed decrypted records into copy modeinclude/ net/ | +21 | 0 replies | |
| 4/7 | tls: rx: strp: fix determining record length in copy modenet/ | +15 | 0 replies | |
| 5/7 | tls: rx: strp: factor out copying skb datanet/ | +21 | 0 replies | |
| 6/7 | tls: rx: strp: preserve decryption status of skbs when neededinclude/ net/ net/ +1 more | +114 | 0 replies | |
| 7/7 | tls: rx: strp: don't use GFP_KERNEL in softirq contextnet/ | +4 | 0 replies |
Reviews trailers per patch
None of the 7 patches has a Reviewed-by or Acked-by.
| Patch | Shai Amiram |
|---|---|
| Series | T-b |
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC / RFT net 0/7] tls: rx: strp: fix inline crypto offload
Tariq, here are the fixes for the bug you reported. I managed to test with mlx5 (and selftest, obviously). I hacked things up for testing to trigger the copy and reencrypt paths.
Could you run it thru your tests and LMK if there are any more regressions?
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