BPF sockmap and ulp fixes
Status from this message: Applied to bpf tree, Thanks everyone
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | tcp, ulp: add alias for all ulp modulesinclude/ net/ net/ | +6 | 1 reply | |
| 2/5 | tcp, ulp: fix leftover icsk_ulp_ops preventing sock from reattachnet/ | +2 | 1 reply | |
| 3/5 | bpf, sockmap: fix leakage of smap_psock_map_entrykernel/ | +7 | 1 reply | |
| 4/5 | bpf, sockmap: fix map elem deletion race with smap_stop_sockkernel/ | +4 | 1 reply | |
| 5/5 | bpf, sockmap: fix sock_map_ctx_update_elem race with exist/noexistkernel/ | +57 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | John Fastabend | Song Liu |
|---|---|---|
| 1/5 | A-b | A-b |
| 2/5 | A-b | A-b |
| 3/5 | A-b | A-b |
| 4/5 | A-b | A-b |
| 5/5 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf 0/5] BPF sockmap and ulp fixes
Batch of various fixes related to BPF sockmap and ULP, including adding module alias to restrict module requests, races and memory leaks in sockmap code. For details please refer to the individual patches. Thanks!
Daniel Borkmann (5):
tcp, ulp: add alias for all ulp modules
tcp, ulp: fix leftover icsk_ulp_ops preventing sock from reattach bpf, sockmap: fix leakage of smap_psock_map_entry
bpf, sockmap: fix map elem deletion race with smap_stop_sock bpf, sockmap: fix sock_map_ctx_update_elem race with exist/noexist
include/net/tcp.h | 4 ++ kernel/bpf/sockmap.c | 120 +++++++++++++++++++++++++++++---------------------- net/ipv4/tcp_ulp.c | 4 +- net/tls/tls_main.c | 1 + 4 files changed, 76 insertions(+), 53 deletions(-)
Signature · 1 line
2.9.5