]> git.ipfire.org Git - thirdparty/linux.git/commit
net_sched: act_nat: use RCU in tcf_nat_dump()
authorEric Dumazet <edumazet@google.com>
Wed, 9 Jul 2025 09:02:00 +0000 (09:02 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Jul 2025 23:01:16 +0000 (16:01 -0700)
commit5d28928668a2ef6182401ddca7ab4064bf349e3e
treeb5dcc4d8c1dacc3ce5aa99c028224403269c65f0
parent8151684e339996ffe6d65968c5eea154366539f4
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>
include/net/tc_act/tc_nat.h
net/sched/act_nat.c