summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorArthur Kiyanovski <akiyano@amazon.com>2018-11-19 13:05:20 +0300
committerDavid S. Miller <davem@davemloft.net>2018-11-20 02:13:00 +0300
commite76ad21d070f79e566ac46ce0b0584c3c93e1b43 (patch)
tree37c411c88ea67b211214df5cfc4fe495b7ee68f6 /tools/perf/scripts/python/exported-sql-viewer.py
parente1e46479847e66f78f79d8c24d5169a5954b3fc2 (diff)
downloadlinux-e76ad21d070f79e566ac46ce0b0584c3c93e1b43.tar.xz
net: ena: fix crash during failed resume from hibernation
During resume from hibernation if ena_restore_device fails, ena_com_dev_reset() is called, and uses the readless read mechanism, which was already destroyed by the call to ena_com_mmio_reg_read_request_destroy(). This causes a NULL pointer reference. In this commit we switch the call order of the above two functions to avoid this crash. Fixes: d7703ddbd7c9 ("net: ena: fix rare bug when failed restart/resume is followed by driver removal") Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions