linux/drivers/net/ethernet
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
..
3com
8390
actions
adaptec
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2021-06-28 15:28:03 -07:00
amd
apm
apple
aquantia net: atlantic: fix the macsec key length 2021-06-24 12:41:13 -07:00
arc
atheros atl1c: fix Mikrotik 10/25G NIC detection 2021-07-08 13:31:43 -07:00
broadcom bnxt_en: Use register window 6 instead of 5 to read the PHC 2021-08-08 13:05:51 +01:00
brocade
cadence
calxeda
cavium liquidio: Fix unintentional sign extension issue on left shift of u16 2021-07-15 10:27:33 -07:00
chelsio cxgb4: fix IRQ free race during driver unload 2021-07-08 13:34:13 -07:00
cirrus
cisco
cortina
davicom
dec tulip: windbond-840: Fix missing pci_disable_device() in probe and remove 2021-07-28 09:26:49 +01:00
dlink
emulex Revert "be2net: disable bh with spin_lock in be_process_mcc" 2021-06-25 11:44:16 -07:00
ezchip
faraday
freescale net: fec: fix use-after-free in fec_drv_remove 2021-08-05 07:29:49 -07:00
fujitsu
google gve: DQO: Remove incorrect prefetch 2021-07-02 12:06:17 -07:00
hisilicon net: hns3: change the method of obtaining default ptp cycle 2021-07-27 20:59:32 +01:00
huawei
i825xx
ibm ibmvnic: Remove the proper scrq flush 2021-07-21 08:57:41 -07:00
intel ice: Stop processing VF messages during teardown 2021-08-09 09:59:23 -07:00
marvell net: mvvp2: fix short frame size on s390 2021-08-06 12:09:42 +01:00
mediatek
mellanox net/mlx5: Fix mlx5_vport_tbl_attr chain from u16 to u32 2021-07-27 16:10:06 -07:00
micrel
microchip net: sparx5: fix bitmask on 32-bit targets 2021-08-03 11:52:37 +01:00
microsoft Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-06-29 15:45:27 -07:00
moxa net: moxa: fix UAF in moxart_mac_probe 2021-07-09 11:01:01 -07:00
mscc net: ocelot: fix switchdev objects synced for wrong netdev with LAG offload 2021-07-13 09:30:46 -07:00
myricom
natsemi net: natsemi: Fix missing pci_disable_device() in probe and remove 2021-08-02 15:09:52 +01:00
neterion net: vxge: fix use-after-free in vxge_device_unregister 2021-08-05 07:29:50 -07:00
netronome nfp: update ethtool reporting of pauseframe control 2021-08-03 12:53:18 +01:00
ni
nvidia
nxp
oki-semi
packetengines
pasemi
pensando ionic: count csum_none when offload enabled 2021-07-23 21:57:41 +01:00
qlogic qede: fix crash in rmmod qede while automatic debug collection 2021-08-02 10:17:24 +01:00
qualcomm net: qcom/emac: fix UAF in emac_remove 2021-07-09 11:01:01 -07:00
rdc
realtek r8169: change the L0/L1 entrance latencies for RTL8106e 2021-08-07 09:33:22 +01:00
renesas ravb: Remove extra TAB 2021-07-21 22:55:59 -07:00
rocker
samsung
seeq
sfc sfc: add logs explaining XDP_TX/REDIRECT is not available 2021-07-13 10:02:41 -07:00
sgi
silan
sis sis900: Fix missing pci_disable_device() in probe and remove 2021-07-28 13:43:49 +01:00
smsc
socionext netsec: Remove rcu_read_lock() around XDP program invocation 2021-06-24 19:46:12 +02:00
stmicro net: stmmac: add est_irq_status callback function for GMAC 4.10 and 5.10 2021-07-26 12:29:44 +01:00
sun NIU: fix incorrect error return, missed in previous revert 2021-07-23 17:48:52 +01:00
synopsys
tehuti
ti net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases 2021-08-09 10:16:46 +01:00
toshiba
tundra
via
wiznet
xilinx
xircom
xscale net: ixp46x: fix ptp build failure 2021-07-21 09:10:24 -07:00
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
lantiq_xrx200.c
Makefile