diff options
author | Jakub Kicinski <kuba@kernel.org> | 2025-03-06 12:59:47 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-03-06 12:59:47 -0800 |
commit | f1078ab18818542a90e59be420448bd8034bc332 (patch) | |
tree | e039d67c4968f7dd87f98fd687b0ac7b5e1ca145 /net/mac80211 | |
parent | f130a0cc1b4ff1ef28a307428d40436032e2b66e (diff) | |
parent | 004b5008016a2cc37103bf8d9968573771cd311f (diff) |
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 <edumazet@google.com>
====================
Link: https://patch.msgid.link/20250305163732.2766420-1-sdf@fomichev.me
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions