android_kernel_motorola_sm6375/net/unix
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eric Dumazet 95dd65f290 net: add missing data-race annotations around sk->sk_peek_off
[ Upstream commit 11695c6e966b0ec7ed1d16777d294cef865a5c91 ]

sk_getsockopt() runs locklessly, thus we need to annotate the read
of sk->sk_peek_off.

While we are at it, add corresponding annotations to sk_set_peek_off()
and unix_set_peek_off().

Fixes: b9bb53f383 ("sock: convert sk_peek_offset functions to WRITE_ONCE")
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Willem de Bruijn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2023-08-11 11:53:56 +02:00
..
af_unix.c net: add missing data-race annotations around sk->sk_peek_off 2023-08-11 11:53:56 +02:00
diag.c af_unix: Get user_ns from in_skb in unix_diag_get_exact(). 2022-12-14 11:30:44 +01:00
garbage.c io_uring/af_unix: defer registered files gc to io_uring release 2022-10-26 13:22:59 +02:00
Kconfig
Makefile
scm.c af_unix: annote lockless accesses to unix_tot_inflight & gc_in_progress 2022-01-27 09:19:53 +01:00
scm.h
sysctl_net_unix.c