Re: [PATCH] lpfc: Fix race on command completion

2016-01-21 Thread Hannes Reinecke
On 01/20/2016 05:26 PM, Tomas Henzl wrote: > On 15.1.2016 10:48, Hannes Reinecke wrote: >> Upon command completion the lpfc driver would call ->done() >> on the scsi command before taking the host lock and >> releasing the command internally. >> This opens up a race window there this command might

Re: [PATCH] lpfc: Fix race on command completion

2016-01-20 Thread Tomas Henzl
On 15.1.2016 10:48, Hannes Reinecke wrote: > Upon command completion the lpfc driver would call ->done() > on the scsi command before taking the host lock and > releasing the command internally. > This opens up a race window there this command might be re-used > after ->done(), leading to a double