aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-07-09 09:02:00 +0000
committerJakub Kicinski <kuba@kernel.org>2025-07-11 16:01:16 -0700
commit5d28928668a2ef6182401ddca7ab4064bf349e3e (patch)
treeb5dcc4d8c1dacc3ce5aa99c028224403269c65f0 /include
parentnet_sched: act_mpls: use RCU in tcf_mpls_dump() (diff)
downloadlinux-5d28928668a2ef6182401ddca7ab4064bf349e3e.tar.gz
linux-5d28928668a2ef6182401ddca7ab4064bf349e3e.zip
net_sched: act_nat: use RCU in tcf_nat_dump()
Also storing tcf_action into struct tcf_nat_params makes sure there is no discrepancy in tcf_nat_act(). Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20250709090204.797558-9-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/tc_act/tc_nat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_nat.h b/include/net/tc_act/tc_nat.h
index c869274ac529..ae35f4009445 100644
--- a/include/net/tc_act/tc_nat.h
+++ b/include/net/tc_act/tc_nat.h
@@ -6,6 +6,7 @@
#include <net/act_api.h>
struct tcf_nat_parms {
+ int action;
__be32 old_addr;
__be32 new_addr;
__be32 mask;