Skip to content

tls: Fix issues in tls_device

Boris Pismenny netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v14 patches 15 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tls: Fix tls_device handling of partial recordsinclude/net/tls.h net/tls/tls_device.c net/tls/tls_main.c+9 -330 replies
2/4tls: Fix write space handlinginclude/net/tls.h net/tls/tls_device.c net/tls/tls_main.c +1 more+39 -90 replies
3/4tls: Fix mixing between async capable and asyncnet/tls/tls_sw.c+9 -60 replies
4/4tls: Fix tls_device receivenet/tls/tls_sw.c+14 -110 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchEran Ben ElishaBoris Pismenny
1/4
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 v2 thread

Cover letter [PATCH v2 net 0/4] tls: Fix issues in tls_device

This series fixes issues encountered in tls_device code paths, which were introduced recently.

Additionally, this series includes a fix for tls software only receive flow, which causes corruption of payload received by user space applications.

This series was tested using the OpenSSL integration of KTLS -
https://github.com/mellan

Boris Pismenny (3):
tls: Fix tls_device handling of partial records
tls: Fix write space handling
tls: Fix tls_device receive

Eran Ben Elisha (1):
tls: Fix mixing between async capable and async

 include/net/tls.h    | 23 +++++++----------------
 net/tls/tls_device.c | 26 ++++++++++++++++++++++----
 net/tls/tls_main.c   | 28 ++++++---------------------
 net/tls/tls_sw.c     | 53 +++++++++++++++++++++++++++++++++++-----------------
 4 files changed, 71 insertions(+), 59 deletions(-)
Signature · 1 line
2.12.2