Stanislaw Gruszka d72308bff5 mac80211: fix possible tid_rx->reorder_timer use after free
Is possible that we will arm the tid_rx->reorder_timer after
del_timer_sync() in ___ieee80211_stop_rx_ba_session(). We need to stop
timer after RCU grace period finish, so move it to
ieee80211_free_tid_rx(). Timer will not be armed again, as
rcu_dereference(sta->ampdu_mlme.tid_rx[tid]) will return NULL.

Debug object detected problem with the following warning:
ODEBUG: free active (active state 0) object type: timer_list hint: sta_rx_agg_reorder_timer_expired+0x0/0xf0 [mac80211]

Bug report (with all warning messages):
https://bugzilla.redhat.com/show_bug.cgi?id=804007

Reported-by: "jan p. springer" <jsd@igroup.org>
Cc: stable@vger.kernel.org
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-03-26 15:07:29 -04:00
..
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:20 -04:00
2011-12-19 14:31:37 -05:00
2012-03-15 13:43:12 -04:00
2012-03-12 14:19:38 -04:00
2009-07-10 15:01:49 -04:00
2011-11-28 14:44:09 -05:00
2012-03-26 15:07:27 -04:00
2012-02-06 14:50:37 -05:00
2012-03-15 13:43:12 -04:00
2012-01-04 14:31:47 -05:00
2011-03-31 11:26:23 -03:00
2012-03-07 13:51:37 -05:00
2012-03-15 13:43:12 -04:00
2012-03-07 13:51:37 -05:00
2012-03-13 14:54:16 -04:00
2012-02-06 14:50:37 -05:00