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)
committerJakub Kicinski <kuba@kernel.org>
Tue, 7 Jan 2025 00:09:13 +0000 (16:09 -0800)
commit4475d56145f368d065b05da3a5599d5620ca9408
treea95b665121047dfb9d121d325622a0c39994a8d7
parent95fc45d1dea8e1253f8ec58abc5befb71553d666
net: hsr: remove one synchronize_rcu() from hsr_del_port()

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>
net/hsr/hsr_main.h
net/hsr/hsr_slave.c