]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net_sched: act_skbmod: use RCU in tcf_skbmod_dump()
authorEric Dumazet <edumazet@google.com>
Wed, 27 Aug 2025 12:53:49 +0000 (12:53 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Aug 2025 23:46:23 +0000 (16:46 -0700)
commit53df77e7859042a92914d664c860f65d9689f88d
treea6946def73e0668ed731e197596d89cc76176d1a
parente97ae742972f6cb57986a5ebb846048f80b90003
net_sched: act_skbmod: use RCU in tcf_skbmod_dump()

Also storing tcf_action into struct tcf_skbmod_params
makes sure there is no discrepancy in tcf_skbmod_act().

No longer block BH in tcf_skbmod_init() when acquiring tcf_lock.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250827125349.3505302-5-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/tc_act/tc_skbmod.h
net/sched/act_skbmod.c