mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
napi_enable() may sleep now, take netdev_lock() before np->lock.
Fixes: 413f0271f3 ("net: protect NAPI enablement with netdev_lock()")
Reported-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/[email protected]
Acked-by: Zhu Yanjun <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>