Eric Woudstra
d6089b0b75
bridge: br_vlan_fill_forward_path_pvid: use br_vlan_group_rcu()
[ Upstream commit bbf0c98b3a ]
net/bridge/br_private.h:1627 suspicious rcu_dereference_protected() usage!
other info that might help us debug this:
rcu_scheduler_active = 2, debug_locks = 1
7 locks held by socat/410:
#0: ffff88800d7a9c90 (sk_lock-AF_INET){+.+.}-{0:0}, at: inet_stream_connect+0x43/0xa0
#1: ffffffff9a779900 (rcu_read_lock){....}-{1:3}, at: __ip_queue_xmit+0x62/0x1830
[..]
#6: ffffffff9a779900 (rcu_read_lock){....}-{1:3}, at: nf_hook.constprop.0+0x8a/0x440
Call Trace:
lockdep_rcu_suspicious.cold+0x4f/0xb1
br_vlan_fill_forward_path_pvid+0x32c/0x410 [bridge]
br_fill_forward_path+0x7a/0x4d0 [bridge]
Use to correct helper, non _rcu variant requires RTNL mutex.
Fixes: bcf2766b13 ("net: bridge: resolve forwarding path for VLAN tag actions in bridge devices")
Signed-off-by: Eric Woudstra <ericwouds@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-10-19 16:37:13 +02:00
..
2025-07-10 15:27:32 -07:00
2025-10-15 12:04:22 +02:00
2025-06-08 09:07:37 +02:00
2025-07-18 17:27:47 -07:00
2025-07-24 11:10:46 -07:00
2025-09-04 09:53:44 +02:00
2025-09-03 17:06:30 -07:00
2025-08-31 17:01:35 +02:00
2025-10-15 12:04:10 +02:00
2025-07-11 10:51:55 -07:00
2025-10-19 16:37:13 +02:00
2025-06-23 16:58:43 -07:00
2025-09-10 17:12:05 +02:00
2025-09-10 21:22:56 +02:00
2025-10-19 16:37:11 +02:00
2024-10-15 18:52:26 -07:00
2025-09-18 07:47:18 -07:00
2025-07-18 17:27:47 -07:00
2024-05-25 10:48:57 -07:00
2025-10-15 12:04:07 +02:00
2025-07-08 15:31:44 +02:00
2025-09-11 11:49:19 +02:00
2025-06-08 09:07:37 +02:00
2025-10-19 16:37:11 +02:00
2025-10-15 12:03:55 +02:00
2025-06-17 18:18:02 +02:00
2025-08-13 18:18:33 -07:00
2025-07-24 11:10:46 -07:00
2025-08-27 17:16:13 -07:00
2025-04-15 17:54:56 -07:00
2025-06-08 09:07:37 +02:00
2025-06-23 17:05:12 -07:00
2025-10-15 12:04:03 +02:00
2025-02-18 10:35:44 +01:00
2025-09-03 17:01:52 -07:00
2025-07-18 17:27:47 -07:00
2025-10-15 12:04:01 +02:00
2025-06-12 18:21:59 -07:00
2025-10-19 16:37:13 +02:00
2025-06-05 08:03:38 -07:00
2025-09-08 17:50:36 -07:00
2025-06-08 09:07:37 +02:00
2025-10-15 12:04:16 +02:00
2024-04-26 12:20:01 +02:00
2025-07-07 14:30:39 -07:00
2025-08-04 17:21:27 -07:00
2025-07-17 11:00:33 -07:00
2024-12-18 19:23:04 -08:00
2024-09-24 10:48:16 +02:00
2025-09-15 16:47:53 -07:00
2025-09-17 12:37:05 +02:00
2025-08-27 17:27:52 -07:00
2025-09-14 13:05:22 -07:00
2025-08-20 19:27:08 -07:00
2025-10-19 16:37:10 +02:00
2025-01-15 19:13:33 -08:00
2025-10-15 12:04:00 +02:00
2025-06-23 17:05:12 -07:00
2025-10-19 16:37:00 +02:00
2025-03-11 11:30:28 +01:00
2025-07-10 10:10:49 -07:00
2025-10-15 12:04:01 +02:00
2025-07-30 08:58:55 -07:00
2025-08-21 17:49:19 -07:00
2025-10-15 12:04:05 +02:00
2025-07-14 17:19:13 -07:00
2025-09-09 15:09:55 -07:00
2025-09-15 11:35:06 +02:00
2025-07-22 18:17:23 -07:00
2024-10-08 15:16:59 +02:00
2025-04-11 18:58:10 -07:00
2025-06-23 17:04:03 -07:00
2024-06-13 10:50:52 +02:00