From: Jakub Kicinski Date: Thu, 6 Mar 2025 20:59:47 +0000 (-0800) Subject: Merge branch 'net-hold-netdev-instance-lock-during-ndo-operations' X-Git-Tag: v6.15-rc1~160^2~166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1078ab18818542a90e59be420448bd8034bc332;p=thirdparty%2Flinux.git Merge branch 'net-hold-netdev-instance-lock-during-ndo-operations' Stanislav Fomichev says: ==================== net: Hold netdev instance lock during ndo operations As the gradual purging of rtnl continues, start grabbing netdev instance lock in more places so we can get to the state where most paths are working without rtnl. Start with requiring the drivers that use shaper api (and later queue mgmt api) to work with both rtnl and netdev instance lock. Eventually we might attempt to drop rtnl. This mostly affects iavf, gve, bnxt and netdev sim (as the drivers that implement shaper/queue mgmt) so those drivers are converted in the process. call_netdevice_notifiers locking is very inconsistent and might need a separate follow up. Some notified events are covered by the instance lock, some are not, which might complicate the driver expectations. Reviewed-by: Eric Dumazet ==================== Link: https://patch.msgid.link/20250305163732.2766420-1-sdf@fomichev.me Signed-off-by: Jakub Kicinski --- f1078ab18818542a90e59be420448bd8034bc332