summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-07-09 12:01:59 +0300
committerJakub Kicinski <kuba@kernel.org>2025-07-12 02:01:16 +0300
commit8151684e339996ffe6d65968c5eea154366539f4 (patch)
tree3dc1e5243c96b17c2fda19547dab7692143c3011 /include
parent799c94178cf9c9e80575b05b7479396de8b42b61 (diff)
downloadlinux-8151684e339996ffe6d65968c5eea154366539f4.tar.xz
net_sched: act_mpls: use RCU in tcf_mpls_dump()
Also storing tcf_action into struct tcf_mpls_params makes sure there is no discrepancy in tcf_mpls_act(). Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20250709090204.797558-8-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/tc_act/tc_mpls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_mpls.h b/include/net/tc_act/tc_mpls.h
index d452e5e94fd0..dd067bd4018d 100644
--- a/include/net/tc_act/tc_mpls.h
+++ b/include/net/tc_act/tc_mpls.h
@@ -10,6 +10,7 @@
struct tcf_mpls_params {
int tcfm_action;
u32 tcfm_label;
+ int action; /* tcf_action */
u8 tcfm_tc;
u8 tcfm_ttl;
u8 tcfm_bos;