linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luca Coelho <luca@coelho.fi>
To: Michal Kazior <michal.kazior@tieto.com>
Cc: linux-wireless@vger.kernel.org, johannes@sipsolutions.net
Subject: Re: [PATCH] mac80211: protect AP VLAN list with local->mtx
Date: Wed, 19 Mar 2014 16:02:24 +0200	[thread overview]
Message-ID: <1395237744.2854.12.camel@dubbel> (raw)
In-Reply-To: <1394021648-22605-1-git-send-email-michal.kazior@tieto.com>

On Wed, 2014-03-05 at 13:14 +0100, Michal Kazior wrote:
> It was impossible to change chanctx of master AP
> for AP VLANs because the copy function requires
> RTNL which can't be simply taken in mac80211 code
> due to possible deadlocks.
> 
> This is required for future chanctx reservation
> that re-bind vifs to new chanctx. This requires
> safe AP VLAN iteration without RTNL.
> 
> Now VLANs can be iterated while holding either
> RTNL or local->mtx because the list is modified
> while holding both of these locks.
> 
> Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
> ---

Applied to my mac80211-next-csa.git tree.

--
Luca.


  reply	other threads:[~2014-03-19 14:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-05 12:14 [PATCH] mac80211: protect AP VLAN list with local->mtx Michal Kazior
2014-03-19 14:02 ` Luca Coelho [this message]
2014-03-19 14:06 ` Johannes Berg
2014-03-20  7:12   ` Michal Kazior
2014-03-28  8:37     ` Johannes Berg

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=1395237744.2854.12.camel@dubbel \
    --to=luca@coelho.fi \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=michal.kazior@tieto.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).