summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-07-09 09:02:03 +0000
committerJakub Kicinski <kuba@kernel.org>2025-07-11 16:01:17 -0700
commit1f376373bd225c90381b745e38fa65a9386f7f8e (patch)
tree1677bf66c672baff68125bdada25b6c3965b9334 /include
parentcec7a5c6c695ba2226b6120dc330e3bea3ea96f8 (diff)
downloadlinux-next-1f376373bd225c90381b745e38fa65a9386f7f8e.tar.gz
linux-next-1f376373bd225c90381b745e38fa65a9386f7f8e.zip
net_sched: act_skbedit: use RCU in tcf_skbedit_dump()
Also storing tcf_action into struct tcf_skbedit_params makes sure there is no discrepancy in tcf_skbedit_act(). Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20250709090204.797558-12-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/tc_act/tc_skbedit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_skbedit.h b/include/net/tc_act/tc_skbedit.h
index 9649600fb3dc..31b2cd0bebb5 100644
--- a/include/net/tc_act/tc_skbedit.h
+++ b/include/net/tc_act/tc_skbedit.h
@@ -12,6 +12,7 @@
#include <linux/tc_act/tc_skbedit.h>
struct tcf_skbedit_params {
+ int action;
u32 flags;
u32 priority;
u32 mark;