commit | ad1be8d345416a794dea39761a374032aa471a76 | [log] [tgz] |
---|---|---|
author | Devendra Naga <devendra.aaru@gmail.com> | Thu May 31 01:51:20 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Jun 01 18:44:32 2012 -0400 |
tree | 42b651f2274bf08ec0b611532e29f54bb3e70ebc | |
parent | fff3269907897ee91406ece125795f53e722677e [diff] |
r8169: call netif_napi_del at errpaths and at driver unload 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 <devendra.aaru@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>