]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: hsr: remove one synchronize_rcu() from hsr_del_port()
authorEric Dumazet <edumazet@google.com>
Fri, 3 Jan 2025 10:11:48 +0000 (10:11 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 12:55:13 +0000 (13:55 +0100)
commitf906362c605bc5bba6f20fd50c3df5cdc748ddda
treed08e1a98775bb0127f7e9d19f9282de77e33ebb1
parentb61d747c0a74942de76dc29607c44b3bd2741754
net: hsr: remove one synchronize_rcu() from hsr_del_port()

[ Upstream commit 4475d56145f368d065b05da3a5599d5620ca9408 ]

Use kfree_rcu() instead of synchronize_rcu()+kfree().

This might allow syzbot to fuzz HSR a bit faster...

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250103101148.3594545-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: 30296ac76426 ("net: dsa: xrs700x: reject unsupported HSR configurations")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/hsr/hsr_main.h
net/hsr/hsr_slave.c