summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorNicolai Buchwitz <nb@tipi-net.de>2026-10-02 11:42:08 +0200
committerJakub Kicinski <kuba@kernel.org>2026-10-05 17:05:36 -0700
commit05fe748456ea1c276c666f462f1b41882e0179ef (patch)
treeebe74fa974c393a9b0906ddc0341e5ea065fd0e9 /include/linux/debugobjects.h
parent57f66330c6bb264dd558ff7abc06dccf8191a37a (diff)
net: reject ops-locked drivers without ndo_set_rx_mode_async
ndo_set_rx_mode cannot sleep and runs with netif_addr_lock_bh held, so an ops-locked driver cannot take the instance lock from it. ndo_set_rx_mode_async is the replacement and runs in process context. Registration has only warned about this since v7.1, long enough to find the offenders. Make it an error. Suggested-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de> Link: https://patch.msgid.link/20261002094211.2350702-3-nb@tipi-net.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions