linux-sg2042/drivers/net/ethernet/ibm
Juliet Kim 7d7195a026 ibmvnic: Do not process device remove during device reset
The ibmvnic driver does not check the device state when the device
is removed. If the device is removed while a device reset is being
processed, the remove may free structures needed by the reset,
causing an oops.

Fix this by checking the device state before processing device remove.

Signed-off-by: Juliet Kim <julietk@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-03-10 15:50:42 -07:00
..
ehea netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
emac netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ibmveth.c ibmveth: Detect unsupported packets before sending to the hypervisor 2019-11-14 17:59:48 -08:00
ibmveth.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
ibmvnic.c ibmvnic: Do not process device remove during device reset 2020-03-10 15:50:42 -07:00
ibmvnic.h ibmvnic: Do not process device remove during device reset 2020-03-10 15:50:42 -07:00