]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Fix crash with VFs and flow director on interface flap
authorRadoslaw Tyl <radoslawx.tyl@intel.com>
Mon, 24 Sep 2018 07:24:20 +0000 (09:24 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 3 Oct 2018 19:36:20 +0000 (12:36 -0700)
commita7fc98678e252f1019f82dc83c65702571f41fb6
treeaafd627cbb776200d726aee2b9c0120abf9c8b7b
parent45ecb16b5e1c0075343b1f54e6f417b82edb8e5b
ixgbe: Fix crash with VFs and flow director on interface flap

This patch fix crash when we have restore flow director filters after reset
adapter. In ixgbe_fdir_filter_restore() filter->action is outside of the
rx_ring array, as it has a VF identifier in the upper 32 bits.

Signed-off-by: Radoslaw Tyl <radoslawx.tyl@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c