diff options
author | Juliet Kim <julietk@linux.vnet.ibm.com> | 2020-03-10 09:23:58 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-10 15:50:42 -0700 |
commit | 7d7195a026bac47ac9943f11f84b7546276209dd (patch) | |
tree | 61bd40679eb2e07fe586f81b0065688b35b01737 /drivers/net/ethernet/alacritech | |
parent | net/smc: cancel event worker during device removal (diff) | |
download | linux-dev-7d7195a026bac47ac9943f11f84b7546276209dd.tar.xz linux-dev-7d7195a026bac47ac9943f11f84b7546276209dd.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/alacritech')
0 files changed, 0 insertions, 0 deletions