diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-10-05 23:29:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-13 05:28:14 +0900 |
commit | f074e600bf3cd644c3bdbcbc238dce53952d34cb (patch) | |
tree | 772c5334c1dfcf7e5054e527fa79159895e6fe36 /mm/mempolicy.c | |
parent | c90334077ffa833ecf89f1645d21f0b9d5d51553 (diff) | |
download | kernel_samsung_smdk4412-f074e600bf3cd644c3bdbcbc238dce53952d34cb.zip kernel_samsung_smdk4412-f074e600bf3cd644c3bdbcbc238dce53952d34cb.tar.gz kernel_samsung_smdk4412-f074e600bf3cd644c3bdbcbc238dce53952d34cb.tar.bz2 |
r8169: call netif_napi_del at errpaths and at driver unload
commit ad1be8d345416a794dea39761a374032aa471a76 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions