aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorOded Gabbay <ogabbay@kernel.org>2021-01-11 15:00:38 +0200
committerOded Gabbay <ogabbay@kernel.org>2021-01-12 14:59:52 +0200
commitaa6df6533b8f9ead98889baa92e2b19793b1c77e (patch)
tree592984f950d9ffe10b1466a9ddc4d24a4ac24fd4 /tools/perf/scripts/python/netdev-times.py
parenta9d4ef643430d638de1910377f50e0d492d85a43 (diff)
habanalabs: fix reset process in case of failures
There are some points in the reset process where if the code fails for some reason, and the system admin tries to initiate the reset process again we will get a kernel panic. This is because there aren't any protections in different fini functions that are called during the reset process. The protections that are added in this patch make sure that if the fini functions are called multiple times, without calling init functions between them, there won't be double release of already released resources. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions