]> www.infradead.org Git - users/willy/pagecache.git/commit
s390/qeth: move netif_napi_add_tx() and napi_enable() from under BH
authorAlexandra Winter <wintera@linux.ibm.com>
Wed, 12 Feb 2025 16:36:59 +0000 (17:36 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 13 Feb 2025 16:39:57 +0000 (08:39 -0800)
commit0d0b752f2497471ddd2b32143d167d42e18a8f3c
treecc7e40e466ee6d5be55f0f9d8583d9a59155f584
parentfee5d688940690cc845937459e340e4e02598e90
s390/qeth: move netif_napi_add_tx() and napi_enable() from under BH

Like other drivers qeth is calling local_bh_enable() after napi_schedule()
to kick-start softirqs [0].
Since netif_napi_add_tx() and napi_enable() now take the netdev_lock()
mutex [1], move them out from under the BH protection. Same solution as in
commit a60558644e20 ("wifi: mt76: move napi_enable() from under BH")

Fixes: 1b23cdbd2bbc ("net: protect netdev->napi_list with netdev_lock()")
Link: https://lore.kernel.org/netdev/20240612181900.4d9d18d0@kernel.org/
Link: https://lore.kernel.org/netdev/20250115035319.559603-1-kuba@kernel.org/
Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
Acked-by: Joe Damato <jdamato@fastly.com>
Link: https://patch.msgid.link/20250212163659.2287292-1-wintera@linux.ibm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/s390/net/qeth_core_main.c