From: Jakub Kicinski <kuba@kernel.org>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com,
andrew+netdev@lunn.ch, horms@kernel.org, bpf@vger.kernel.org,
jakub@cloudflare.com, john.fastabend@gmail.com,
sd@queasysnail.net, Jakub Kicinski <kuba@kernel.org>
Subject: [PATCH net-next 0/5] tls: reject the combination of TLS and sockmap
Date: Sat, 13 Jun 2026 18:40:55 -0700 [thread overview]
Message-ID: <20260614014102.461064-1-kuba@kernel.org> (raw)
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
next reply other threads:[~2026-06-14 1:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-14 1:40 Jakub Kicinski [this message]
2026-06-14 1:40 ` [PATCH net-next 1/5] tls: reject the combination of TLS and sockmap Jakub Kicinski
2026-06-14 1:40 ` [PATCH net-next 2/5] tls: remove dead sockmap (psock) handling from the SW path Jakub Kicinski
2026-06-14 1:40 ` [PATCH net-next 3/5] selftests/bpf: remove sockmap + ktls tests Jakub Kicinski
2026-06-14 1:40 ` [PATCH net-next 4/5] selftests/bpf: drop the unused kTLS program from test_sockmap Jakub Kicinski
2026-06-14 1:41 ` [PATCH net-next 5/5] selftests/bpf: test that TLS crypto is rejected on a sockmap socket Jakub Kicinski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260614014102.461064-1-kuba@kernel.org \
--to=kuba@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=bpf@vger.kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=jakub@cloudflare.com \
--cc=john.fastabend@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sd@queasysnail.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox