net: lan78xx: fix "softirq work is pending" error
authorOleksij Rempel <o.rempel@pengutronix.de>
Mon, 26 Feb 2024 11:08:20 +0000 (12:08 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 28 Feb 2024 02:21:51 +0000 (18:21 -0800)
commite3d5d70cb483df8296dd44e9ae3b6355ef86494c
treead0520ca11d7cc8612e16aefd4014ce39cb97bda
parentf72a1994698ebe1a9eeadba7bfe2aa01afcde0a4
net: lan78xx: fix "softirq work is pending" error

Disable BH around the call to napi_schedule() to avoid following
error:
NOHZ tick-stop error: local softirq work is pending, handler #08!!!

Fixes: ec4c7e12396b ("lan78xx: Introduce NAPI polling support")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20240226110820.2113584-1-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/lan78xx.c