aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-04-18 07:32:45 +0000
committerDavid S. Miller <[email protected]>2024-04-19 10:34:08 +0000
commit49e8ae53700212fbb26302df219922752e81fbd2 (patch)
tree1f7638a2d70e8686d9a0201ae0dda1ead64342af /net/unix/sysctl_net_unix.c
parentnet_sched: sch_fq_pie: implement lockless fq_pie_dump() (diff)
downloadkernel-49e8ae53700212fbb26302df219922752e81fbd2.tar.gz
kernel-49e8ae53700212fbb26302df219922752e81fbd2.zip
net_sched: sch_hfsc: implement lockless accesses to q->defcls
Instead of relying on RTNL, hfsc_dump_qdisc() can use READ_ONCE() annotation, paired with WRITE_ONCE() one in hfsc_change_qdisc(). Use READ_ONCE(q->defcls) in hfsc_classify() to no longer acquire qdisc lock from hfsc_change_qdisc(). 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