net_sched: sch_hhf: implement lockless hhf_dump()
authorEric Dumazet <edumazet@google.com>
Thu, 18 Apr 2024 07:32:46 +0000 (07:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Apr 2024 10:34:08 +0000 (11:34 +0100)
commit293c7e2b3e2fb7796778e3e61d94d58546fe96eb
tree20df3d848e93e955da1afe0a1daa0a0beb708a1f
parent49e8ae53700212fbb26302df219922752e81fbd2
net_sched: sch_hhf: implement lockless hhf_dump()

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