Search Linux Wireless

Re: [PATCH] mac80211: cancel restart_work in ieee80211_unregister_hw

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

 



On Sun, Aug 22, 2010 at 2:48 PM, Christian Lamparter
<chunkeey@xxxxxxxxxxxxxx> wrote:
> Unlike most other workqueue-tasks, the restart_work is
> not scheduled onto mac80211's private per-interface
> workqueue, but onto one of the system-wide workqueues.
>
> Therefore the mac80211-stack has to cancel any pending
> restarts, before destroying the shared device context
> and handing back the memory. Otherwise - under very
> unlucky circumstances - there could be a stale work-
> item left, because some other kernel component might
> have delayed the execution of ieee80211_restart_work
> for too long.
>
> Signed-off-by: Christian Lamparter <chunkeey@xxxxxxxxxxxxxx>

Is this a stable fix?

 Luis
--
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