mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
when register_netdev fails, the init'ed NAPIs by netif_napi_add must be deleted with netif_napi_del, and also when driver unloads, it should delete the NAPI before unregistering netdevice using unregister_netdev. Signed-off-by: Devendra Naga <[email protected]> Signed-off-by: David S. Miller <[email protected]>