diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-05-31 05:51:20 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-02 02:44:32 +0400 |
commit | ad1be8d345416a794dea39761a374032aa471a76 (patch) | |
tree | 42b651f2274bf08ec0b611532e29f54bb3e70ebc /drivers/net/ethernet/s6gmac.c | |
parent | fff3269907897ee91406ece125795f53e722677e (diff) | |
download | linux-ad1be8d345416a794dea39761a374032aa471a76.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/s6gmac.c')
0 files changed, 0 insertions, 0 deletions