]> Pileus Git - ~andy/linux/commit
[SCSI] be2iscsi: Fix for case where task->sc was cleanedup earlier
authorJayamohan Kallickal <jayamohan.kallickal@emulex.com>
Sat, 8 Oct 2011 00:31:10 +0000 (19:31 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 16 Oct 2011 16:03:19 +0000 (11:03 -0500)
commitbd5354511d00cb9c81c64b0544786807a2209488
tree4b6c293978decaa611a86c1c49fb6e477c88fe60
parent685e16fdcf4324fe75ff28940311598f01704eaa
[SCSI] be2iscsi: Fix for case where task->sc was cleanedup earlier

This patch fixes a bug where the task->sc was cleaned up earlier on a
different thread, possibly abort, and the completion comes later.

This was causing a crash which has been reported in multiple places

Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/be2iscsi/be_main.c