summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2015-01-30 04:21:13 +0300
committerNicholas Bellinger <nab@linux-iscsi.org>2015-02-04 21:55:35 +0300
commitde1419e42088e99f8f839710c42aec759e45de77 (patch)
tree4ac43a279beeb7504ef2b4216a549fafe67d1b19 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent79c14141a487211d1bb7840d3f607766f6115dd2 (diff)
downloadlinux-de1419e42088e99f8f839710c42aec759e45de77.tar.xz
vhost/scsi: Fix incorrect early vhost_scsi_handle_vq failures
This patch fixes vhost_scsi_handle_vq() failure cases that result in BUG_ON() getting triggered when vhost_scsi_free_cmd() is called, and ->tvc_se_cmd has not been initialized by target_submit_cmd_map_sgls(). It changes tcm_vhost_release_cmd() to use tcm_vhost_cmd->tvc_nexus for obtaining se_session pointer reference. Also, avoid calling put_page() on NULL sg->page entries in vhost_scsi_map_to_sgl() failure path. Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions