[PATCH net v2] ibmvnic: Do not process device remove during device reset

David Miller davem at davemloft.net
Wed Mar 11 09:58:21 AEDT 2020


From: Juliet Kim <julietk at linux.vnet.ibm.com>
Date: Tue, 10 Mar 2020 09:23:58 -0500

> 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 at linux.vnet.ibm.com>

Applied, thank you.


More information about the Linuxppc-dev mailing list