diff options
author | Arthur Kiyanovski <akiyano@amazon.com> | 2018-10-09 10:21:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-09 19:49:49 +0200 |
commit | d7703ddbd7c9cb1ab7c08e1b85b314ff8cea38e9 (patch) | |
tree | 20f93958afcfac57f143f74409dbaf671e841f9d /drivers/soc | |
parent | net: ena: fix warning in rmmod caused by double iounmap (diff) | |
download | linux-d7703ddbd7c9cb1ab7c08e1b85b314ff8cea38e9.tar.xz linux-d7703ddbd7c9cb1ab7c08e1b85b314ff8cea38e9.zip |
net: ena: fix rare bug when failed restart/resume is followed by driver removal
In a rare scenario when ena_device_restore() fails, followed by device
remove, an FLR will not be issued. In this case, the device will keep
sending asynchronous AENQ keep-alive events, even after driver removal,
leading to memory corruption.
Fixes: 8c5c7abdeb2d ("net: ena: add power management ops to the ENA driver")
Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions