Search Linux Wireless

Re: [PATCH] mac80211: Fix deadlock in ieee80211_do_stop.

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

 



On Fri, Nov 12, 2010 at 12:07 PM,  <greearb@xxxxxxxxxxxxxxx> wrote:
> From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
>
> We cannot call flush_work here because we are holding
> RTNL and the worker thread(s) that will be called upon to
> do the flushing might already be running a piece of work
> that is blocking on RTNL. ÂThat leads to deadlock and/or
> OOM.
>
> The ieee80211_iface_work method does nothing when sdata
> is stopped (as it would be when the flush_work was called)
> so it shouldn't be any big change to just cancel the work
> entirely.
>
> Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx>

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