diff options
| author | Stanislav Fomichev <sdf.kernel@gmail.com> | 2026-04-16 21:57:10 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-04-21 13:50:25 +0300 |
| commit | 3cbd22938877e0c0c7c193a91d5a6d5149c39490 (patch) | |
| tree | c734a2e568bcc51602f8941af55a7d7c3736a404 /scripts/package/gen-diff-patch | |
| parent | 754b7e1169a7190760dd66cea026f1b4bd7acc54 (diff) | |
| download | linux-3cbd22938877e0c0c7c193a91d5a6d5149c39490.tar.xz | |
net: warn ops-locked drivers still using ndo_set_rx_mode
Now that all in-tree ops-locked drivers have been converted to
ndo_set_rx_mode_async, add a warning in register_netdevice to catch
any remaining or newly added drivers that use ndo_set_rx_mode with
ops locking. This ensures future driver authors are guided toward
the async path.
Also route ops-locked devices through netdev_rx_mode_work even if they
lack rx_mode NDOs, to ensure netdev_ops_assert_locked() does not fire
on the legacy path where only RTNL is held.
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20260416185712.2155425-14-sdf@fomichev.me
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/package/gen-diff-patch')
0 files changed, 0 insertions, 0 deletions
