]> www.infradead.org Git - users/dwmw2/linux.git/commit
Merge branch 'eth-fix-calling-napi_enable-in-atomic-context'
authorJakub Kicinski <kuba@kernel.org>
Mon, 27 Jan 2025 22:30:51 +0000 (14:30 -0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 27 Jan 2025 22:30:52 +0000 (14:30 -0800)
commitf17b15d0c2f16f19d78a03c829d1577020d91326
tree0cfee8847f031032bebbc5d08bd93d64f84aba64
parent964417a5d4a06614ef7fb3ae69bb17c91a2dc016
parenta60558644e20d036cae0e63d0e3a37f46b7789c0
Merge branch 'eth-fix-calling-napi_enable-in-atomic-context'

Jakub Kicinski says:

====================
eth: fix calling napi_enable() in atomic context

Dan has reported that I missed a lot of drivers which call napi_enable()
in atomic with the naive coccinelle search for spin locks:
https://lore.kernel.org/dcfd56bc-de32-4b11-9e19-d8bd1543745d@stanley.mountain

Fix them. Most of the fixes involve taking the netdev_lock()
before the spin lock. mt76 is special because we can just
move napi_enable() from the BH section.

All patches compile tested only.

v2: https://lore.kernel.org/20250123004520.806855-1-kuba@kernel.org
v1: https://lore.kernel.org/20250121221519.392014-1-kuba@kernel.org
====================

Link: https://patch.msgid.link/20250124031841.1179756-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>