linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Marty Faltesek <mfaltesek@google.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
	Michal Kazior <michal.kazior@tieto.com>
Subject: Re: mac80211: When adding a new station, notify driver before adding to hash
Date: Mon, 24 Aug 2015 18:15:04 +0200	[thread overview]
Message-ID: <1440432904.3735.21.camel@sipsolutions.net> (raw)
In-Reply-To: <CAOiWkA95hm3LWwNt3EP1-OESjx775BC8YAznwy48XorSERuiew@mail.gmail.com> (sfid-20150824_181245_283521_DCA76F0C)

On Mon, 2015-08-24 at 12:12 -0400, Marty Faltesek wrote:
> Yes, that would address the issue in a simple way. Would this be
> applicable to any of the other ops vectors? I will create a patch.
> 

Possible, we'll have to check which ones are possible to get at from
the RX (and possibly TX?) paths.

Another option could be to prevent looking up the station until it's
actually uploaded? But that might also cause the other races to happen
again, I suppose.

johannes

      reply	other threads:[~2015-08-24 16:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-20 21:39 mac80211: When adding a new station, notify driver before adding to hash Marty Faltesek
2015-08-21  5:04 ` Michal Kazior
2015-08-21  7:57 ` Johannes Berg
2015-08-21  7:58   ` Johannes Berg
2015-08-21 17:00     ` Marty Faltesek
2015-08-24 12:38       ` Johannes Berg
2015-08-24 16:12         ` Marty Faltesek
2015-08-24 16:15           ` 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=1440432904.3735.21.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mfaltesek@google.com \
    --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).