]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net_sched: act_vlan: use RCU in tcf_vlan_dump()
authorEric Dumazet <edumazet@google.com>
Wed, 27 Aug 2025 12:53:47 +0000 (12:53 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Aug 2025 23:46:23 +0000 (16:46 -0700)
commit48b5e5dbdb234ffc951cacceaec7f8ee37c83b2d
tree323f8621613ccfeb0e7496092fa71769c2bfc6b4
parent3133d5c15cb568470f4ec3ea9e0599543eecf3ea
net_sched: act_vlan: use RCU in tcf_vlan_dump()

Also storing tcf_action into struct tcf_vlan_params
makes sure there is no discrepancy in tcf_vlan_act().

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