aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2017-06-21 17:43:05 -0700
committerJens Axboe <[email protected]>2017-06-28 08:14:13 -0600
commitb4dfd6ee997d6d5d30b8ace5593ad1a9134418d6 (patch)
tree58838c07fa69d202c2ecf3a36cb884e396d4f8e2 /tools/perf/util/scripting-engines/trace-event-python.c
parentb1465c63449cf79295164061193cb645974da53c (diff)
nvme_fc: fix double calls to nvme_cleanup_cmd()
Current fc transport code, on io termination, is calling nvme_cleanup_cmd() followed by the transport dma unmap routine which also calls nvme_cleanup_cmd(). Which means two kfrees occur on the same address, raising havoc. This resulted in odd data errors, effectively corruption.. Fix by removing the extraneous double calls. Call now occurs only in teardown paths and as part of dma unmap routine. Signed-off-by: James Smart <[email protected]> Reviewed-by: Ewan D. Milne <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Keith Busch <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions