Search Linux Wireless

Re: [PATCH] p54spi: Fix workqueue deadlock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday, November 16, 2011 11:55:46 PM Michael Büsch wrote:
> priv->work must not be synced while priv->mutex is locked, because
> the mutex is taken in the work handler.
> Move cancel_work_sync down to after the device shutdown code.
> This is safe, because the work handler checks fw_state and bails out
> early in case of a race.
> 
> Signed-off-by: Michael Buesch <m@xxxxxxx>
Cc: <stable@xxxxxxxxxx>
Acked-by: Christian Lamparter <chunkeey@xxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux