]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net_sched: act_tunnel_key: use RCU in tunnel_key_dump()
authorEric Dumazet <edumazet@google.com>
Wed, 27 Aug 2025 12:53:48 +0000 (12:53 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Aug 2025 23:46:23 +0000 (16:46 -0700)
commite97ae742972f6cb57986a5ebb846048f80b90003
tree922e9ecc356eaa8c85b2061538908da6b726caab
parent48b5e5dbdb234ffc951cacceaec7f8ee37c83b2d
net_sched: act_tunnel_key: use RCU in tunnel_key_dump()

Also storing tcf_action into struct tcf_tunnel_key_params
makes sure there is no discrepancy in tunnel_key_act().

No longer block BH in tunnel_key_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-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/tc_act/tc_tunnel_key.h
net/sched/act_tunnel_key.c