https://github.com/torvalds/linux
Revision 5a7125c64def3b21f8147eca8b54949a60963942 authored by Andy Grover on 22 May 2015, 21:07:44 UTC, committed by Nicholas Bellinger on 31 May 2015, 02:11:02 UTC
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>
1 parent d588cf8
History
Tip revision: 5a7125c64def3b21f8147eca8b54949a60963942 authored by Andy Grover on 22 May 2015, 21:07:44 UTC
target/pscsi: Don't leak scsi_host if hba is VIRTUAL_HOST
Tip revision: 5a7125c
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.5 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 301.9 KB
Makefile -rw-r--r-- 53.1 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top