]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] libiscsi: sync up iscsi and scsi eh's access to the connection
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 15 Aug 2007 06:38:30 +0000 (01:38 -0500)
committerJames Bottomley <jejb@mulgrave.localdomain>
Wed, 15 Aug 2007 18:09:21 +0000 (13:09 -0500)
commit6724add1b5cfb020ba8f5532efe430d1ccd5fc30
tree4c1f0de4c56835934d844ac20cc42a54ee19ce6f
parent96809f1b15eddae2325b2ab78e6f931edc969074
[SCSI] libiscsi: sync up iscsi and scsi eh's access to the connection

The iscsi eh could be tearing down the session/connection while
the scsi eh is still sending task management functions. If when
we drop the session lock to grab the recv lock, the iscsi eh
tears down the connection we will oops.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libiscsi.c
include/scsi/libiscsi.h