Re: [PATCH net-next v3 1/4] udp_tunnel: remove rtnl_lock dependency

From
Jakub Kicinski <kuba@kernel.org>
Date
2025-06-12 14:39:31
Also in
intel-wired-lan, linux-kselftest, linux-rdma, lkml
Reply to
Stanislav Fomichev, 2025-06-12
On Wed, 11 Jun 2025 19:47:54 -0700 Stanislav Fomichev wrote:
quoted
There are multiple entry points to this code, basically each member of
struct udp_tunnel_nic_ops and the netdev notifiers. In this patch only
reset and work are locked. I'm a bit confused as to what is the new
lock protecting :S  
I though that most of the callers are from do_setlink and there we have
rtnl and we grab rtnl+lock during the sync. But that doesn't
address the suspend/resume vs do_setlink race, that's true :-(
It's the UDP tunnels that add and remove the ports usually.
Thread (9 messages) 9 messages, 3 authors, last reply 2025-06-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help