aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-07-09 09:01:58 +0000
committerJakub Kicinski <kuba@kernel.org>2025-07-11 16:01:16 -0700
commit799c94178cf9c9e80575b05b7479396de8b42b61 (patch)
treeab017ca1d93051349ce26b21c056f8ed9584e52b /include/net
parentnet_sched: act_ctinfo: use atomic64_t for three counters (diff)
downloadlinux-799c94178cf9c9e80575b05b7479396de8b42b61.tar.gz
linux-799c94178cf9c9e80575b05b7479396de8b42b61.zip
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>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/tc_act/tc_ctinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_ctinfo.h b/include/net/tc_act/tc_ctinfo.h
index a04bcac7adf4..7fe01ab236da 100644
--- a/include/net/tc_act/tc_ctinfo.h
+++ b/include/net/tc_act/tc_ctinfo.h
@@ -7,6 +7,7 @@
struct tcf_ctinfo_params {
struct rcu_head rcu;
struct net *net;
+ int action;
u32 dscpmask;
u32 dscpstatemask;
u32 cpmarkmask;