]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: hsr: remove synchronize_rcu() from hsr_add_port()
authorEric Dumazet <edumazet@google.com>
Tue, 7 Jan 2025 14:47:01 +0000 (14:47 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 9 Jan 2025 12:24:57 +0000 (13:24 +0100)
commita3b3d2dc389568a77d0e25da17203e3616218e93
tree93aa3a5598c2339b4a3a1499c33917be93449daf
parent2170a1f091486c2b5726a43c97a7d4b72073811c
net: hsr: remove synchronize_rcu() from hsr_add_port()

A synchronize_rcu() was added by mistake in commit
c5a759117210 ("net/hsr: Use list_head (and rcu) instead
of array for slave devices.")

RCU does not mandate to observe a grace period after
list_add_tail_rcu().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250107144701.503884-1-edumazet@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/hsr/hsr_slave.c