[S390] qdio: free indicator after reset is finished
authorJan Glauber <jang@linux.vnet.ibm.com>
Thu, 25 Nov 2010 08:52:46 +0000 (09:52 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Thu, 25 Nov 2010 08:52:59 +0000 (09:52 +0100)
The qdio device indicator is freed before the device is notified that
the indicator is reset. This sequence contains a race when the freed
indicator is used by a new device while the reset of the indicator is
still pending. Do the reset operation before freeing the indicator to
avoid that potential race.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

No differences found