Files
linux/drivers/target
Andy Grover 72ca055495 target/pscsi: Don't leak scsi_host if hba is VIRTUAL_HOST
commit 5a7125c64d upstream.

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>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-06-05 23:19:55 -07:00
..
2012-07-16 17:27:45 -07:00