Search Linux Wireless

Re: [PATCH] cfg80211: process pending events when unregistering net device

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

 



On Thu, 2012-08-02 at 18:41 +0100, Daniel Drake wrote:
> libertas currently calls cfg80211_disconnected() when it is being
> brought down. This causes an event to be allocated, but since the
> wdev is already removed from the rdev by the time that the event
> processing work executes, the event is never processed or freed.
> http://article.gmane.org/gmane.linux.kernel.wireless.general/95666
> 
> Fix this leak, and other possible situations, by processing the event
> queue when a device is being unregistered. Thanks to Johannes Berg for
> the suggestion.
> 
> Signed-off-by: Daniel Drake <dsd@xxxxxxxxxx>

This should probably be Cc: stable too? John, can you pick up the patch,
since I see you already pulled my earlier pull requested?

Cc: stable@xxxxxxxxxxxxxxx
Reviewed-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

johannes

--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux