From: Kumar Kartikeya Dwivedi Date: Wed, 15 Jul 2026 08:34:16 +0000 (+0200) Subject: Merge branch 'bpf-sockmap-fix-sockmap-leaking-udp-socks' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71836d063d2d97d5b66f9c2477c2d8035558a6fc;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'bpf-sockmap-fix-sockmap-leaking-udp-socks' Michal Luczaj says: ==================== bpf, sockmap: Fix sockmap leaking UDP socks Fix for UDP sockets getting leaked during sockmap lookup/release. Accompanied by selftests updates. Two Sashiko's concerns to be addressed separately: https://lore.kernel.org/bpf/20260626205814.BAC3C1F000E9@smtp.kernel.org/ Signed-off-by: Michal Luczaj --- Changes in v4: - selftest: drop redundant `if (err)` [Sashiko] - Link to v3: https://patch.msgid.link/20260702-sockmap-lookup-udp-leak-v3-0-ff8de8782468@rbox.co Changes in v3: - selftest: better error handling, ASSERT_*() macros [Sashiko] - selftest: fix grammar, reorder patches [Kuniyuki] - Link to v2: https://patch.msgid.link/20260626-sockmap-lookup-udp-leak-v2-0-7e7e201c951a@rbox.co Changes in v2: - selftest: drop the original, adapt old tests - fix: change approach to rejecting unbound UDP [Kuniyuki] - Link to v1: https://patch.msgid.link/20260623-sockmap-lookup-udp-leak-v1-0-05804f9308e4@rbox.co To: Alexei Starovoitov To: Daniel Borkmann To: Andrii Nakryiko To: Eduard Zingerman To: Kumar Kartikeya Dwivedi To: Martin KaFai Lau To: Song Liu To: Yonghong Song To: Jiri Olsa To: Emil Tsalapatis To: Shuah Khan To: John Fastabend To: Jakub Sitnicki To: Jiayuan Chen To: Eric Dumazet To: Kuniyuki Iwashima To: Paolo Abeni To: Willem de Bruijn To: "David S. Miller" To: Jakub Kicinski To: Simon Horman To: Cong Wang Cc: bpf@vger.kernel.org Cc: linux-kselftest@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org --- ==================== Link: https://patch.msgid.link/20260707-sockmap-lookup-udp-leak-v4-0-f878346f27ab@rbox.co Signed-off-by: Kumar Kartikeya Dwivedi --- 71836d063d2d97d5b66f9c2477c2d8035558a6fc