From: Johannes Berg <johannes@sipsolutions.net>
To: projekt-wlan@fem.tu-ilmenau.de, linux-wireless@vger.kernel.org
Subject: Re: Deadlock in mac80211 running 3.18.11 + compat-wireless 2015-03-09
Date: Tue, 06 Oct 2015 15:42:51 +0200 [thread overview]
Message-ID: <1444138971.1976.0.camel@sipsolutions.net> (raw)
In-Reply-To: <b2436c41bd887b5970dfa3bd0368d8a7@fami-braun.de>
commit 2c158887f1185e04b3763ae346da9f71fcbc4429
Author: Johannes Berg <johannes.berg@intel.com>
Date: Thu Mar 12 19:28:31 2015 +0100
mac80211: agg-tx: avoid sending DelBA with sta->lock held
The rate control locking caused a potential deadlock here due to
the
locks being acquired in different orders, so that change cannot yet
be applied. However, there's no fundamental reason for this code to
hold the sta->lock while transmitting frames.
Clearly it's better not to hold the lock for longer periods of
time,
which can happen here since we call all the way down to the driver.
Change the code a bit to not hold it while doing that.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
prev parent reply other threads:[~2015-10-06 13:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-06 13:36 Deadlock in mac80211 running 3.18.11 + compat-wireless 2015-03-09 Michael Braun
2015-10-06 13:42 ` 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=1444138971.1976.0.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=projekt-wlan@fem.tu-ilmenau.de \
/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.