Skip to content

tls: reject the combination of TLS and sockmap

Jakub Kicinski bpf netdev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5tls: reject the combination of TLS and sockmapnet/tls/tls_main.c+11 -05 repliesApplied
2/5tls: remove dead sockmap (psock) handling from the SW pathinclude/linux/skmsg.h net/core/skmsg.c net/tls/tls_main.c +1 more+31 -4372 repliesApplied
3/5selftests/bpf: remove sockmap + ktls teststools/testing/selftests/bpf/prog_tests/sockmap_ktls.c tools/testing/selftests/bpf/progs/test_sockmap_ktls.c tools/testing/selftests/bpf/test_sockmap.c+1 -6421 replyApplied
4/5selftests/bpf: drop the unused kTLS program from test_sockmaptools/testing/selftests/bpf/progs/test_sockmap_kern.h tools/testing/selftests/bpf/test_sockmap.c+11 -680 repliesApplied
5/5selftests/bpf: test that TLS crypto is rejected on a sockmap sockettools/testing/selftests/bpf/prog_tests/sockmap_ktls.c+65 -00 repliesApplied

Reviews trailers per patch

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

PatchJakub SitnickiSabrina Dubroca
1/5R-b R-b
2/5R-b R-b
3/5R-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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
Signature · 1 line
2.54.0