ixgbe: Break recursion in case of removal
authorMark Rustad <mark.d.rustad@intel.com>
Sat, 1 Mar 2014 05:21:00 +0000 (05:21 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 21 Mar 2014 08:46:03 +0000 (01:46 -0700)
commit19458bd425c0ee21bb35958c60d3682f9c42f274
tree928db2c9f651913dd938de90445f19d14ce00ffe
parent10bdd67b4a19e0e4cd96ca0591adcde80907874d
ixgbe: Break recursion in case of removal

When an adapter is removed and registers all read as all one's,
an infinite recursion can happen between ixgbe_clear_vmdq_generic
and ixgbe_clear_rar_generic. Adding a check for removal breaks
this recursion.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c