diff options
author | Andy Grover <agrover@redhat.com> | 2015-05-22 23:07:44 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-05-31 04:11:02 +0200 |
commit | 5a7125c64def3b21f8147eca8b54949a60963942 (patch) | |
tree | a89c0e0848ddc548058a698d80cd245946fbe336 /Documentation/target | |
parent | target: Fix se_tpg_tfo->tf_subsys regression + remove tf_subsystem (diff) | |
download | linux-5a7125c64def3b21f8147eca8b54949a60963942.tar.xz linux-5a7125c64def3b21f8147eca8b54949a60963942.zip |
target/pscsi: Don't leak scsi_host if hba is VIRTUAL_HOST
See https://bugzilla.redhat.com/show_bug.cgi?id=1025672
We need to put() the reference to the scsi host that we got in
pscsi_configure_device(). In VIRTUAL_HOST mode it is associated with
the dev_virt, not the hba_virt.
Signed-off-by: Andy Grover <agrover@redhat.com>
Cc: stable@vger.kernel.org # 2.6.38+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'Documentation/target')
0 files changed, 0 insertions, 0 deletions