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

2025-06-10 Thread Cosmin Ratiu
On Mon, 2025-06-09 at 09:25 -0700, Stanislav Fomichev wrote: > Drivers that are using ops lock and don't depend on RTNL lock > still need to manage it because udp_tunnel's RTNL dependency. > Introduce new udp_tunnel_nic_lock and use it instead of > rtnl_lock. Drop non-UDP_TUNNEL_NIC_INFO_MAY_SLEEP

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

2025-06-09 Thread Stanislav Fomichev
Drivers that are using ops lock and don't depend on RTNL lock still need to manage it because udp_tunnel's RTNL dependency. Introduce new udp_tunnel_nic_lock and use it instead of rtnl_lock. Drop non-UDP_TUNNEL_NIC_INFO_MAY_SLEEP mode from udp_tunnel infra (udp_tunnel_nic_device_sync_work needs to