linux/drivers/net/ethernet/intel
Anirudh Venkataramanan c503e63200 ice: Stop processing VF messages during teardown
When VFs are setup and torn down in quick succession, it is possible
that a VF is torn down by the PF while the VF's virtchnl requests are
still in the PF's mailbox ring. Processing the VF's virtchnl request
when the VF itself doesn't exist results in undefined behavior. Fix
this by adding a check to stop processing virtchnl requests when VF
teardown is in progress.

Fixes: ddf30f7ff8 ("ice: Add handler to configure SR-IOV")
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2021-08-09 09:59:23 -07:00
..
e1000 intel: remove checker warning 2021-05-26 09:11:40 -07:00
e1000e e1000e: Fix an error handling path in 'e1000_probe()' 2021-07-01 10:59:21 -07:00
fm10k fm10k: Fix an error handling path in 'fm10k_probe()' 2021-07-01 10:59:21 -07:00
i40e i40e: Fix log TC creation failure when max num of queues is exceeded 2021-07-23 07:44:48 -07:00
iavf iavf: Fix an error handling path in 'iavf_probe()' 2021-07-01 10:59:21 -07:00
ice ice: Stop processing VF messages during teardown 2021-08-09 09:59:23 -07:00
igb igb: Fix position of assignment to *ring 2021-07-01 10:59:21 -07:00
igbvf igbvf: convert to strongly typed descriptors 2021-05-26 09:11:41 -07:00
igc igc: Fix an error handling path in 'igc_probe()' 2021-07-01 10:53:22 -07:00
ixgb intel: handle unused assignments 2020-09-25 16:28:59 -07:00
ixgbe ixgbe: Fix packet corruption due to missing DMA sync 2021-07-20 16:58:41 -07:00
ixgbevf ixgbevf: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops 2021-07-06 10:36:59 -07:00
e100.c e100: handle eeprom as little endian 2021-05-26 09:11:40 -07:00
Kconfig ice: register 1588 PTP clock device object for E810 devices 2021-06-11 08:47:30 -07:00
Makefile