Thread (13 messages) 13 messages, 4 authors, 9h ago
HOTtoday

[PATCH net-next 0/5] tls: reject the combination of TLS and sockmap

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-06-14 01:41:10
Also in: bpf

There are no known TLS+sockmap users and it has some known
hard to solve bugs. Let's reject this configuration as we
discussed a number of times.

Jakub Kicinski (5):
  tls: reject the combination of TLS and sockmap
  tls: remove dead sockmap (psock) handling from the SW path
  selftests/bpf: remove sockmap + ktls tests
  selftests/bpf: drop the unused kTLS program from test_sockmap
  selftests/bpf: test that TLS crypto is rejected on a sockmap socket

 include/linux/skmsg.h                         |   9 -
 .../selftests/bpf/progs/test_sockmap_kern.h   |  56 ---
 net/core/skmsg.c                              |  52 +--
 net/tls/tls_main.c                            |  19 +-
 net/tls/tls_sw.c                              | 399 ++---------------
 .../selftests/bpf/prog_tests/sockmap_ktls.c   | 420 +++---------------
 .../selftests/bpf/progs/test_sockmap_ktls.c   |  61 ---
 tools/testing/selftests/bpf/test_sockmap.c    | 250 +----------
 8 files changed, 119 insertions(+), 1147 deletions(-)
 delete mode 100644 tools/testing/selftests/bpf/progs/test_sockmap_ktls.c

-- 
2.54.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help