diff options
author | Dave Ertman <david.m.ertman@intel.com> | 2018-10-26 10:40:57 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-11-06 12:46:47 -0800 |
commit | 25525b69bb44a628841492f44a5a8e74f34724f4 (patch) | |
tree | 16a637f6ad2598d3a381577a68a7bdf26a777689 /drivers/net/ethernet/intel/ice/ice_txrx.c | |
parent | 31082519c11b01fe1fb6dd512055f252812c1508 (diff) | |
download | linux-25525b69bb44a628841492f44a5a8e74f34724f4.tar.bz2 |
ice: Fix napi delete calls for remove
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@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_txrx.c')
0 files changed, 0 insertions, 0 deletions