]> git.baikalelectronics.ru Git - kernel.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)
commit17b007edecec0773065f761ab4acf5070a13af86
tree4c1f0de4c56835934d844ac20cc42a54ee19ce6f
parentb0f153b65f4f2cc314e168e71f473364b10e951e
[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