]> git.itanic.dy.fi Git - linux-stable/commit
mac80211: fix hard lockup in sta_addba_resp_timer_expired
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 10 Jan 2011 12:38:21 +0000 (13:38 +0100)
committerAK <andi@firstfloor.org>
Sun, 6 Feb 2011 19:03:53 +0000 (11:03 -0800)
commitf776b89f14c57f89a21110b8e78d9dafe71ae80d
tree4557f64ecda67ba716ad7d32003bd2438651ab94
parentcae5e948bc8775fb251f4b2286f34d027c21a0b1
mac80211: fix hard lockup in sta_addba_resp_timer_expired

Problem is 2.6.35 specific, bug was introduced in backport
of upstream 44271488b91c9eecf249e075a1805dd887e222d2 commit.

We can not call del_timer_sync(addba_resp_timer) from
___ieee80211_stop_tx_ba_session(), as this function can be called from
that timer callback. To fix, simply use not synchronous del_timer().

Resolve https://bugzilla.redhat.com/show_bug.cgi?id=667459

Reported-and-tested-by: Mathieu Chouquet-Stringer <mathieu-acct@csetco.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
net/mac80211/agg-tx.c