Actions
Feature #3327
open138: NAPI context resource leaks - netif_napi_del and netif_napi_add
Start date:
08/07/2012
Due date:
% Done:
0%
Estimated time:
Published in build:
Description
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.
Also it can be checked that
'netif_napi_add() must be used to initialize a napi context prior to calling any of the other napi related functions'.
Actions