]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit0da8519b2b1f08113cda65af88a4c9e35157dd53
treed5f7c8416191b86837c800460e4972a3e5d28a72
parentc9747821f9bbff6c07fa36087b003d89d05245c8
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