]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net_sched: act_pedit: use RCU in tcf_pedit_dump()
authorEric Dumazet <edumazet@google.com>
Wed, 9 Jul 2025 09:02:01 +0000 (09:02 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Jul 2025 23:01:17 +0000 (16:01 -0700)
commit9d096746572616a50cac4906f528a1959c0ee1c2
tree95958465eaed12540b5ace16aa3d9148120f2563
parent5d28928668a2ef6182401ddca7ab4064bf349e3e
net_sched: act_pedit: use RCU in tcf_pedit_dump()

Also storing tcf_action into struct tcf_pedit_params
makes sure there is no discrepancy in tcf_pedit_act().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250709090204.797558-10-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/tc_act/tc_pedit.h
net/sched/act_pedit.c