Skip to content

tls: pad strparser, internal header, decrypt_ctx etc.

Jakub Kicinski netdev 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 0 repliesApplied 6/6
  2. v16 patches 0 repliesSuperseded

Patches in v2 All 6 applied

#Subject and filesSizeRepliesApplied
1/6strparser: pad sk_skb_cb to avoid straddling cachelinesinclude/net/strparser.h net/strparser/strparser.c+11 -40 repliesApplied
2/6tls: rx: always allocate max possible aad size for decryptinclude/net/tls.h net/tls/tls_sw.c+11 -90 repliesApplied
3/6tls: rx: wrap decrypt params in a structnet/tls/tls_sw.c+30 -300 repliesApplied
4/6tls: rx: coalesce exit paths in tls_decrypt_sg()net/tls/tls_sw.c+5 -90 repliesApplied
5/6tls: create an internal headerinclude/net/tls.h net/tls/tls.h net/tls/tls_device.c +5 more+338 -2830 repliesApplied
6/6tls: rx: make tls_wait_data() return an recvmsg retcodenet/tls/tls_sw.c+26 -270 repliesApplied

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH net-next v2 0/6] tls: pad strparser, internal header, decrypt_ctx etc.

A grab bag of non-functional refactoring to make the series which will let us decrypt into a fresh skb smaller.

Patches in this series are not strictly required to get the decryption into a fresh skb going, they are more in the "things which had been annoying me for a while" category.

v2: fix build (patch 5)

Jakub Kicinski (6):
strparser: pad sk_skb_cb to avoid straddling cachelines
tls: rx: always allocate max possible aad size for decrypt
tls: rx: wrap decrypt params in a struct
tls: rx: coalesce exit paths in tls_decrypt_sg()
tls: create an internal header
tls: rx: make tls_wait_data() return an recvmsg retcode

 include/net/strparser.h       |  12 +-
 include/net/tls.h             | 278 +-------------------------------
 net/strparser/strparser.c     |   3 +
 net/tls/tls.h                 | 290 ++++++++++++++++++++++++++++++++++
 net/tls/tls_device.c          |   3 +-
 net/tls/tls_device_fallback.c |   2 +
 net/tls/tls_main.c            |  23 ++-
 net/tls/tls_proc.c            |   2 +
 net/tls/tls_sw.c              | 162 ++++++++++---------
 net/tls/tls_toe.c             |   2 +
 10 files changed, 418 insertions(+), 359 deletions(-)
 create mode 100644 net/tls/tls.h
Signature · 1 line
2.36.1