From: Christian Lamparter <chunkeey@googlemail.com>
To: Ben Greear <greearb@candelatech.com>
Cc: Ming Lei <tom.leiming@gmail.com>, linux-wireless@vger.kernel.org
Subject: Re: lockdep warning in ieee80211 rx path
Date: Mon, 4 Oct 2010 20:00:44 +0200 [thread overview]
Message-ID: <201010042000.44518.chunkeey@googlemail.com> (raw)
In-Reply-To: <4CAA144C.7040906@candelatech.com>
On Monday 04 October 2010 19:52:12 Ben Greear wrote:
> On 09/14/2010 01:51 PM, Christian Lamparter wrote:
> > On Sunday 05 September 2010 11:32:26 Ming Lei wrote:
> >> Seems the warning does not affect use of wireless, false positive?
> >
> > No, it's a bug... but please read& test the attached patch.
>
> This is not yet in wireless-testing. Should it be?
have you heard anything from Ming Lei about this subject?
Or have you reproduced the bug too?
> > ---
> > [PATCH] mac80211: hoist sta->lock from reorder release timer
> >
> > The patch "mac80211: AMPDU rx reorder timeout timer" clashes
> > with "mac80211: use netif_receive_skb in ieee80211_rx callpath"
> >
> > The timer itself is part of the station's private struct and
> > it gets killed whenever the station is removed. Therefore
> > the extra sta->lock protection (that can interferes with the
> > tx path) is not necessary.
> >
> > Reported-by: Ming Lei<tom.leiming@gmail.com>
> > Signed-off-by: Christian Lamparter<chunkeey@googlemail.com>
> > ---
> > diff --git a/net/mac80211/agg-rx.c b/net/mac80211/agg-rx.c
> > index 58eab9e..309ed70 100644
> > --- a/net/mac80211/agg-rx.c
> > +++ b/net/mac80211/agg-rx.c
> > @@ -129,9 +129,7 @@ static void sta_rx_agg_reorder_timer_expired(unsigned long data)
> > timer_to_tid[0]);
> >
> > rcu_read_lock();
> > - spin_lock(&sta->lock);
> > ieee80211_release_reorder_timeout(sta, *ptid);
> > - spin_unlock(&sta->lock);
> > rcu_read_unlock();
> > }
> >
> > --
next prev parent reply other threads:[~2010-10-04 18:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-05 9:32 lockdep warning in ieee80211 rx path Ming Lei
2010-09-08 22:40 ` Andrew Morton
2010-09-14 20:51 ` Christian Lamparter
2010-10-04 17:52 ` Ben Greear
2010-10-04 18:00 ` Christian Lamparter [this message]
2010-10-04 18:07 ` Ben Greear
2010-10-04 18:36 ` Christian Lamparter
2010-10-05 21:42 ` Ben Greear
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=201010042000.44518.chunkeey@googlemail.com \
--to=chunkeey@googlemail.com \
--cc=greearb@candelatech.com \
--cc=linux-wireless@vger.kernel.org \
--cc=tom.leiming@gmail.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 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.