diff options
| author | Eric Dumazet <[email protected]> | 2024-04-18 07:32:38 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-04-19 10:34:07 +0000 |
| commit | 7253c1d1e7a52504ffd08138e9843d0a80788690 (patch) | |
| tree | 60d373481145b86da0fc8b8fdc9728cd7f9afda3 /net/unix/sysctl_net_unix.c | |
| parent | net_sched: sch_cbs: implement lockless cbs_dump() (diff) | |
| download | kernel-7253c1d1e7a52504ffd08138e9843d0a80788690.tar.gz kernel-7253c1d1e7a52504ffd08138e9843d0a80788690.zip | |
net_sched: sch_choke: implement lockless choke_dump()
Instead of relying on RTNL, choke_dump() can use READ_ONCE()
annotations, paired with WRITE_ONCE() ones in choke_change().
v2: added a WRITE_ONCE(p->Scell_log, Scell_log)
per Simon feedback in V1
Removed the READ_ONCE(q->limit) in choke_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
