net_sched: act_mpls: use RCU in tcf_mpls_dump()
authorEric Dumazet <edumazet@google.com>
Wed, 9 Jul 2025 09:01:59 +0000 (09:01 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Jul 2025 23:01:16 +0000 (16:01 -0700)
commit8151684e339996ffe6d65968c5eea154366539f4
tree3dc1e5243c96b17c2fda19547dab7692143c3011
parent799c94178cf9c9e80575b05b7479396de8b42b61
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>
include/net/tc_act/tc_mpls.h
net/sched/act_mpls.c