linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Daniel Drake <dsd@laptop.org>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] cfg80211: process pending events when unregistering net device
Date: Thu, 02 Aug 2012 22:04:46 +0200	[thread overview]
Message-ID: <1343937886.4471.29.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <20120802174148.536A39D401E@zog.reactivated.net>

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@laptop.org>

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@vger.kernel.org
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>

johannes


      reply	other threads:[~2012-08-02 20:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-02 17:41 [PATCH] cfg80211: process pending events when unregistering net device Daniel Drake
2012-08-02 20:04 ` Johannes Berg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1343937886.4471.29.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=dsd@laptop.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).