summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorDave Ertman <david.m.ertman@intel.com>2018-10-26 20:40:57 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-11-06 23:46:47 +0300
commit25525b69bb44a628841492f44a5a8e74f34724f4 (patch)
tree16a637f6ad2598d3a381577a68a7bdf26a777689 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent31082519c11b01fe1fb6dd512055f252812c1508 (diff)
downloadlinux-25525b69bb44a628841492f44a5a8e74f34724f4.tar.xz
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions