All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Backlund <tmb@mandriva.org>
To: johannes@sipsolutions.net
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH 2.6.33] mac80211: fix skb buffering issue
Date: Wed, 06 Jan 2010 23:26:28 +0200	[thread overview]
Message-ID: <4B450004.9050601@mandriva.org> (raw)
In-Reply-To: <1262710858.28653.5.camel@johannes.local>

On 05.01.2010 19:00, Johannes Berg 
wrote:<johannes-<johannes-<johannes-cdvu00un1VgdHxzADdlk8Q@public.gmane.org>cdvu00un1VgdHxzADdlk8Q@public.gmane.org>cdvu00un1VgdHxzADdlk8Q@public.gmane.org>
> Since I removed the master netdev, we've been
> keeping internal queues only, and even before
> that we never told the networking stack above
> the virtual interfaces about congestion. This
> means that packets are queued in mac80211 and
> the upper layers never know, possibly leading
> to memory exhaustion and other problems.
>
> This patch makes all interfaces multiqueue and
> uses ndo_select_queue to put the packets into
> queues per AC. Additionally, when the driver
> stops a queue, we now stop all corresponding
> queues for the virtual interfaces as well.
>
> The injection case will use VO by default for
> non-data frames, and BE for data frames, but
> downgrade any data frames according to ACM. It
> needs to be fleshed out in the future to allow
> chosing the queue/AC in radiotap.
>
> Reported-by: Lennert Buytenhek<buytenh-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
> Signed-off-by: Johannes Berg<johannes-cdvu00un1VgdHxzADdlk8Q@public.gmane.org>
> Cc: stable-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org [2.6.32]
> ---
> I know it's late, and large, but still would be good to have in .33
> since the issue is fairly serious.
>
>   net/mac80211/iface.c |   39 +++++++++++++++++++-
>   net/mac80211/rx.c    |    4 +-
>   net/mac80211/tx.c    |    5 ++
>   net/mac80211/util.c  |   12 ++++++
>   net/mac80211/wme.c   |   96 +++++++++++++++++++++++++++++++++++++--------------
>   net/mac80211/wme.h   |    8 +++-
>   6 files changed, 132 insertions(+), 32 deletions(-)
>

With this patch applied to 2.6.33-rc3 kernel crashes at boot...

I have a iwl4965 connecting to a wpa2-psk encrypted network, arch is 
x86_64, distro Mandriva Linux and the kernel has preempt enabled.

Am I only missing some patches, or did I hit a real bug ?

--
Thomas

  parent reply	other threads:[~2010-01-06 21:49 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-05 17:00 [PATCH 2.6.33] mac80211: fix skb buffering issue Johannes Berg
2010-01-05 17:16 ` John W. Linville
2010-01-05 18:36   ` Lennert Buytenhek
2010-01-05 19:07   ` Felix Fietkau
2010-01-05 19:36     ` Lennert Buytenhek
2010-01-06 11:32   ` Lennert Buytenhek
2010-01-06  5:30 ` Larry Finger
2010-01-06 11:05   ` Johannes Berg
2010-01-06 18:16     ` Larry Finger
2010-01-06 11:33 ` Lennert Buytenhek
2010-01-06 21:26 ` Thomas Backlund [this message]
2010-01-06 21:51   ` Johannes Berg
2010-01-06 22:03     ` Felix Fietkau
2010-01-06 22:39       ` Thomas Backlund
2010-01-06 23:19         ` Thomas Backlund
2010-01-07  6:57           ` Johannes Berg
2010-01-07 10:41             ` Thomas Backlund
2010-01-06 22:31 ` Sedat Dilek
2010-01-07  4:10   ` Lennert Buytenhek
2010-01-07  9:24     ` Sedat Dilek
2010-01-07 14:01 ` mac80211: fix queue selection for packets injected via monitor interface Lennert Buytenhek
2010-01-07 15:45   ` Luis R. Rodriguez
2010-01-07 15:47     ` Lennert Buytenhek

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=4B450004.9050601@mandriva.org \
    --to=tmb@mandriva.org \
    --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.