Thread (14 messages) flat view 14 messages, 3 authors, 2026-03-05

Re: [PATCH bpf v2 3/4] bpf, sockmap: Adapt for the af_unix-specific lock

From: Michal Luczaj <hidden>
Date: 2026-02-11 13:25:10
Also in: bpf, linux-kselftest, lkml

Replying to correct myself:
Since sockmap update can happen in a tracing prog, can you really expect a
socket to be always owned?
Ha, but I'm wrong! Of tracers only BPF_TRACE_ITER allows calling
sock_map_update_elem(). And those are supposed to lock_sock(). Except some
don't, e.g. sock_map_seq_show(). Or is there something else I'm missing?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help