ice: Fix error on driver remove
authorDave Ertman <david.m.ertman@intel.com>
Thu, 20 Sep 2018 00:43:07 +0000 (17:43 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 2 Oct 2018 14:20:31 +0000 (07:20 -0700)
commit81b23589f4830b672ffbad7162fc838c6791d22a
tree33b29609b47911b2077b25077a33d03d0fa7a8a6
parent9e4ab4c29a62d2ccbf4be42707669be2f42d391c
ice: Fix error on driver remove

If the driver is unloaded when traffic is in progress, errors are
generated. Fix this by releasing qvectors and NAPI handler on remove.

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>
drivers/net/ethernet/intel/ice/ice_main.c