net_sched: act_police: use RCU in tcf_police_dump()
authorEric Dumazet <edumazet@google.com>
Wed, 9 Jul 2025 09:02:02 +0000 (09:02 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Jul 2025 23:01:17 +0000 (16:01 -0700)
commitcec7a5c6c695ba2226b6120dc330e3bea3ea96f8
tree00838bdb269d6bd054627396d1a190f193fc83f0
parent9d096746572616a50cac4906f528a1959c0ee1c2
net_sched: act_police: use RCU in tcf_police_dump()

Also storing tcf_action into struct tcf_police_params
makes sure there is no discrepancy in tcf_police_act().

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