aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2018-10-05 08:57:06 -0600
committerChristoph Hellwig <[email protected]>2018-10-08 11:53:42 +0200
commit48f78be3326052a7718678ff9a78d6d884a50323 (patch)
treeb5458acfc76ba2bfebdec235efc6fc231192c252 /tools/perf/scripts/python/export-to-sqlite.py
parent133424a207774d3d32a38d560c6469ed31c0472f (diff)
nvme: remove ns sibling before clearing path
The code had been clearing a namespace being deleted as the current path while that namespace was still in the path siblings list. It is possible a new IO could set that namespace back to the current path since it appeared to be an eligable path to select, which may result in a use-after-free error. This patch ensures a namespace being removed is not eligable to be reset as a current path prior to clearing it as the current path. Signed-off-by: Keith Busch <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions