Skip to content

TLS disconnect support

Geliang Tang llvm mptcp oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tls: implement tls_disconnectinclude/net/tls.h net/tls/tls_main.c+108 -160 replies
2/2selftests: tls: update disconnect teststools/testing/selftests/net/tls.c+55 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH mptcp-next 0/2] TLS disconnect support

From: Geliang Tang <[email protected]>

To verify the correctness of MPTCP KTLS implementation, I added TLS test support to MPTCP selftests mptcp_connect.c. The test results showed that the disconnect test group failed with error code EOPNOTSUPP, so I added this series to support TLS disconnect.

Patch 1 implements tls_disconnect() to support disconnect operation for TLS sockets via connect(AF_UNSPEC).

Patch 2 updates selftests to verify the full disconnect/reconnect cycle, including data transfer verification before and after disconnect.

Geliang Tang (2):
tls: implement tls_disconnect
selftests: tls: update disconnect tests

 include/net/tls.h                 |  12 +++-
 net/tls/tls_main.c                | 112 ++++++++++++++++++++++++++----
 tools/testing/selftests/net/tls.c |  57 ++++++++++++++-
 3 files changed, 163 insertions(+), 18 deletions(-)
Signature · 1 line
2.55.0