On Thu, Mar 5, 2026 at 3:31 PM Michal Luczaj <[email protected]> wrote: > > sock_map_sk_state_allowed() and sock_map_redirect_allowed() read af_unix > socket sk_state locklessly. > > Use READ_ONCE(). Note that for sock_map_redirect_allowed() change affects > not only af_unix, but all non-TCP sockets (UDP, af_vsock). > > Suggested-by: Kuniyuki Iwashima <[email protected]> > Suggested-by: Martin KaFai Lau <[email protected]> > Signed-off-by: Michal Luczaj <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]> Actually TCP path also needs READ_ONCE(), but I think it's okay for now since this series focuses on AF_UNIX.

