All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Helmut Schaa <helmut.schaa@googlemail.com>
Cc: linux-wireless@vger.kernel.org, linville@tuxdriver.com
Subject: Re: [PATCH] mac80211: Fix race between tx path and ___ieee80211_stop_tx_ba_session
Date: Wed, 09 May 2012 11:01:04 +0200	[thread overview]
Message-ID: <1336554064.4323.6.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <1336553772-7519-1-git-send-email-helmut.schaa@googlemail.com> (sfid-20120509_105648_217428_5DF1720D)

On Wed, 2012-05-09 at 10:56 +0200, Helmut Schaa wrote:
> ___ieee80211_stop_tx_ba_session first deletes the tx aggregation session
> timer and afterwards clears HT_AGG_STATE_OPERATIONAL. Hence, there is a
> small time window where the tx path can call mod_timer after
> del_timer_sync.
> 
> When ieee80211_start_tx_ba_session runs before the timer the call to
> init_timer will cause a BUG_ON:

This may have been fixed by my other patch where I check the state?

johannes


  reply	other threads:[~2012-05-09  9:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09  8:56 [PATCH] mac80211: Fix race between tx path and ___ieee80211_stop_tx_ba_session Helmut Schaa
2012-05-09  9:01 ` Johannes Berg [this message]
2012-05-09 13:55   ` Helmut Schaa
2012-06-05 19:00     ` John W. Linville

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=1336554064.4323.6.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=helmut.schaa@googlemail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.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.