aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-04-18 07:32:42 +0000
committerDavid S. Miller <[email protected]>2024-04-19 10:34:07 +0000
commit01daf66b791e1ddd1a4aae2a65ea65fa1d4a96ef (patch)
tree8649e339c08c3443377e9e6f249bde23f8732167 /net/unix/sysctl_net_unix.c
parentnet_sched: sch_ets: implement lockless ets_dump() (diff)
downloadkernel-01daf66b791e1ddd1a4aae2a65ea65fa1d4a96ef.tar.gz
kernel-01daf66b791e1ddd1a4aae2a65ea65fa1d4a96ef.zip
net_sched: sch_fifo: implement lockless __fifo_dump()
Instead of relying on RTNL, __fifo_dump() can use READ_ONCE() annotations, paired with WRITE_ONCE() ones in __fifo_init(). Also add missing READ_ONCE(sh->limit) in bfifo_enqueue(), pfifo_enqueue() and pfifo_tail_enqueue(). Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions