diff options
author | Netanel Belgazal <netanel@amazon.com> | 2018-09-09 11:15:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-09 17:59:55 +0300 |
commit | fe870c77efdf8682252545cbd3d29800d8379efc (patch) | |
tree | a4eea30f5fbaf240b6527854d960a723e2abeb3d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cfa324a514233b28a6934de619183eee941f02d7 (diff) | |
download | linux-fe870c77efdf8682252545cbd3d29800d8379efc.tar.xz |
net: ena: fix potential double ena_destroy_device()
ena_destroy_device() can potentially be called twice.
To avoid this, check that the device is running and
only then proceed destroying it.
Signed-off-by: Netanel Belgazal <netanel@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions