]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
SCSI: storvsc: Account for in-transit packets in the RESET path
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 2 Oct 2012 18:03:31 +0000 (11:03 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Oct 2012 16:32:39 +0000 (09:32 -0700)
commit54acbe4085b9c629e0164c90211d55e54e0ec6c0
tree3957d2753e018617f6ed696c1ccfc8d075d94a78
parent12fe0605dcdf67072d37be195938c3c0d90bb3c6
SCSI: storvsc: Account for in-transit packets in the RESET path

commit 5c1b10ab7f93d24f29b5630286e323d1c5802d5c upstream.

Properly account for I/O in transit before returning from the RESET call.
In the absense of this patch, we could have a situation where the host may
respond to a command that was issued prior to the issuance of the RESET
command at some arbitrary time after responding to the RESET command.
Currently, the host does not do anything with the RESET command.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/storvsc_drv.c