aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-07-09 09:01:54 +0000
committerJakub Kicinski <kuba@kernel.org>2025-07-11 16:01:15 -0700
commit0d752877705c0252ef2726e4c63c5573f048951c (patch)
treeb5f6b4baa508b2efcfa02ebbf83bbb2169d215be /include/net
parentnet_sched: act: annotate data-races in tcf_lastuse_update() and tcf_tm_dump() (diff)
downloadlinux-0d752877705c0252ef2726e4c63c5573f048951c.tar.gz
linux-0d752877705c0252ef2726e4c63c5573f048951c.zip
net_sched: act_connmark: use RCU in tcf_connmark_dump()
Also storing tcf_action into struct tcf_connmark_parms makes sure there is no discrepancy in tcf_connmark_act(). Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20250709090204.797558-3-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/tc_act/tc_connmark.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_connmark.h b/include/net/tc_act/tc_connmark.h
index e8dd77a96748..a5ce83f3eea4 100644
--- a/include/net/tc_act/tc_connmark.h
+++ b/include/net/tc_act/tc_connmark.h
@@ -7,6 +7,7 @@
struct tcf_connmark_parms {
struct net *net;
u16 zone;
+ int action;
struct rcu_head rcu;
};