Non-functional cleanup and a refcnt bumping simplification.
Series extracted from a fix attempt[1] currently under discussion.
[1]: https://lore.kernel.org/bpf/20260803-sockmap-lookup-tcp-leak-v2-0-306e025bfe66@rbox.co/ (local)
Signed-off-by: Michal Luczaj <redacted>
---
Michal Luczaj (2):
bpf: Extract shared reqsk-to-listener upgrade
bpf, sockmap: Use sock_hold() instead of refcount_inc_not_zero() in lookup
net/core/filter.c | 58 ++++++++++++++++++++++++-----------------------------
net/core/sock_map.c | 8 ++++----
2 files changed, 30 insertions(+), 36 deletions(-)
---
base-commit: 6f033615ef8fb2374daa7e50a8ff68616bc850d2
change-id: 20260803-sockmap-lookup-get-ref-3f76e4c1ffe2
Best regards,
--
Michal Luczaj [off-list ref]