diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-03-19 16:00:26 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-13 08:14:06 -0700 |
commit | eb221774b352966c562b5c92a28d01ddc1bc4393 (patch) | |
tree | 697da70998b10cd0104f8be2b3ff34091b6fe882 /drivers/mtd/mtdsuper.c | |
parent | 7c11d1dd6e0c348d7ff0915842720acf373aa24c (diff) | |
download | kernel_samsung_smdk4412-eb221774b352966c562b5c92a28d01ddc1bc4393.zip kernel_samsung_smdk4412-eb221774b352966c562b5c92a28d01ddc1bc4393.tar.gz kernel_samsung_smdk4412-eb221774b352966c562b5c92a28d01ddc1bc4393.tar.bz2 |
mac80211: fix possible tid_rx->reorder_timer use after free
commit d72308bff5c2fa207949a5925b020bce74495e33 upstream.
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>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mtd/mtdsuper.c')
0 files changed, 0 insertions, 0 deletions