net_sched: sch_tfs: implement lockless etf_dump()
authorEric Dumazet <edumazet@google.com>
Thu, 18 Apr 2024 07:32:40 +0000 (07:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Apr 2024 10:34:07 +0000 (11:34 +0100)
commita1ac3a7c3d1e1f80965510cec7f2c3d4eba57d37
tree8818f684b44db89b11224df476d658914b2764b4
parentc45bd26c829ea229c067f4096a746ea2f717bc20
net_sched: sch_tfs: implement lockless etf_dump()

Instead of relying on RTNL, codel_dump() can use READ_ONCE()
annotations.

There is no etf_change() yet, this patch imply aligns
this qdisc with others.

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_etf.c