Thread (7 messages) flat view 7 messages, 3 authors, 17h ago
HOTtoday

[PATCH bpf-next 0/2] bpf: Cleanup & optimization

From: Michal Luczaj <hidden>
Date: 2026-08-13 12:42:35
Also in: bpf, lkml

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]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help