net_sched: sch_fq_codel: implement lockless fq_codel_dump()
authorEric Dumazet <edumazet@google.com>
Thu, 18 Apr 2024 07:32:43 +0000 (07:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Apr 2024 10:34:07 +0000 (11:34 +0100)
commit396a0038508aa7e380e317a80cc905b794e83191
treeb22fff6179b4462a07925e594569c375e8cd40c1
parent01daf66b791e1ddd1a4aae2a65ea65fa1d4a96ef
net_sched: sch_fq_codel: implement lockless fq_codel_dump()

Instead of relying on RTNL, fq_codel_dump() can use READ_ONCE()
annotations, paired with WRITE_ONCE() ones in fq_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_fq_codel.c