]> git.baikalelectronics.ru Git - kernel.git/commit
snic: Fixing race in the hba reset and IO/TM completion
authorNarsimhulu Musini <nmusini@cisco.com>
Thu, 17 Mar 2016 07:51:15 +0000 (00:51 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 11 Apr 2016 20:57:09 +0000 (16:57 -0400)
commit26b5b8f2efa9e3318c96f78e78d688c690f0084a
treed5f7c8416191b86837c800460e4972a3e5d28a72
parent63a1d009816acdb395d63e8dab49cb30ad886b0c
snic: Fixing race in the hba reset and IO/TM completion

While HBA reset is in progress, if IO/TM completion is received for the
same IO then IO/TM completion path releases the driver private resources
associated with IO. This fix prevents releasing the resources in
IO and TM completion path if HBA reset is in progress.

Signed-off-by: Narsimhulu Musini <nmusini@cisco.com>
Signed-off-by: Sesidhar Baddela <sebaddel@cisco.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/snic/snic.h
drivers/scsi/snic/snic_scsi.c