net_sched: act_ctinfo: use RCU in tcf_ctinfo_dump()
authorEric Dumazet <edumazet@google.com>
Wed, 9 Jul 2025 09:01:58 +0000 (09:01 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Jul 2025 23:01:16 +0000 (16:01 -0700)
commit799c94178cf9c9e80575b05b7479396de8b42b61
treeab017ca1d93051349ce26b21c056f8ed9584e52b
parentd300335b4e18672913dd792ff9f49e6cccf41d26
net_sched: act_ctinfo: use RCU in tcf_ctinfo_dump()

Also storing tcf_action into struct tcf_ctinfo_params
makes sure there is no discrepancy in tcf_ctinfo_act().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250709090204.797558-7-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/tc_act/tc_ctinfo.h
net/sched/act_ctinfo.c