A TLS ULP on a socket in a sockmap can make close() spin forever. Reject the ULP on such sockets and update the selftest. Changes in v2: - Reject the ULP in __tcp_set_ulp() instead of keeping the TLS proto. - Add the selftest patch. v1: https://lore.kernel.org/bpf/2026…@gmail.com/ Sechang Lim (2): bpf, sockmap: Reject a ULP on a socket with a psock selftests/bpf: Expect TCP_ULP to fail on a socket in a sockmap include/net/tcp.h | 5 ---- net/ipv4/tcp_bpf.c | 16 ++-------- net/ipv4/tcp_ulp.c | 29 +++++++++++------- net/tls/tls_main.c | 30 ------------------- .../selftests/bpf/prog_tests/sockmap_ktls.c | 14 +-------- 5 files changed, 22 insertions(+), 72 deletions(-)
-- 2.56.1