All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Buesch <mb@bu3sch.de>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Jiri Benc <jbenc@suse.cz>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: rx racing against removing interfaces?
Date: Wed, 28 Mar 2007 13:32:40 +0200	[thread overview]
Message-ID: <200703281332.40879.mb@bu3sch.de> (raw)
In-Reply-To: <1175080054.5151.50.camel@johannes.berg>

On Wednesday 28 March 2007 13:07, Johannes Berg wrote:
> On Wed, 2007-03-28 at 12:59 +0200, Michael Buesch wrote:
> 
> > Oh, you mean virtual interfaces.. yeah, there's probably a race. I don't
> > know the locking there.
> 
> Yes, I mean virtual interfaces, when the thing is in progress while we
> iterate through.
> 
> > But my comment about the non-irqsafe-variants-should-be-hidden still applies :)
> 
> I'll reread it ;)
> 
> But I'm not sure I fully agree. If the driver calls __ieee80211_rx in
> softirq context that should be good without requiring to reschedule in
> mac80211.

I'm not sure there is an easy and non-racy way to drop the driver IRQ lock
while calling __ieee80211_rx synchronously.

-- 
Greetings Michael.

  reply	other threads:[~2007-03-28 11:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-26 23:05 rx racing against removing interfaces? Johannes Berg
2007-03-28 10:52 ` Michael Buesch
2007-03-28 10:59   ` Michael Buesch
2007-03-28 11:07     ` Johannes Berg
2007-03-28 11:32       ` Michael Buesch [this message]
2007-03-28 11:34         ` Johannes Berg
2007-04-18 18:31 ` Jiri Benc
2007-04-18 18:52   ` Michael Wu

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=200703281332.40879.mb@bu3sch.de \
    --to=mb@bu3sch.de \
    --cc=jbenc@suse.cz \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.