]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd622084eb861a0259105ef28ef0b3436d00b72db
tree928db2c9f651913dd938de90445f19d14ce00ffe
parentf29721a7ad0073613c512d7313d521e468ce69c0
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