net_sched: sch_codel: implement lockless codel_dump()
authorEric Dumazet <edumazet@google.com>
Thu, 18 Apr 2024 07:32:39 +0000 (07:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Apr 2024 10:34:07 +0000 (11:34 +0100)
commitc45bd26c829ea229c067f4096a746ea2f717bc20
tree4be38801d615b3aedd64ca074af7e027a1edb905
parent7253c1d1e7a52504ffd08138e9843d0a80788690
net_sched: sch_codel: implement lockless codel_dump()

Instead of relying on RTNL, codel_dump() can use READ_ONCE()
annotations, paired with WRITE_ONCE() ones in codel_change().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_codel.c