[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)
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>

No differences found