[Intel-wired-lan] [PATCH S8 08/16] ice: Fix napi delete calls for remove

Bowers, AndrewX andrewx.bowers at intel.com
Tue Oct 30 21:58:09 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Friday, October 26, 2018 10:41 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S8 08/16] ice: Fix napi delete calls for
> remove
> 
> From: Dave Ertman <david.m.ertman at intel.com>
> 
> In the remove path, the vsi->netdev is being set to NULL before the call to
> free vectors. This is causing the netif_napi_del call to never be made.
> 
> Add a call to ice_napi_del to the same location as the calls to
> unregister_netdev and just prior to them. This will use the reverse flow as
> the register and netif_napi_add calls.
> 
> Signed-off-by: Dave Ertman <david.m.ertman at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice.h      | 1 +
>  drivers/net/ethernet/intel/ice/ice_lib.c  | 1 +
> drivers/net/ethernet/intel/ice/ice_main.c | 2 +-
>  3 files changed, 3 insertions(+), 1 deletion(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list