]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/mac80211/agg-rx.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[mv-sheeva.git] / net / mac80211 / agg-rx.c
index 0c9d0c07eae6cae6ffc6f3ef1f0e91ae64107e2b..9c0d76cdca920ed3b322c4b70ed86f044b4a404b 100644 (file)
@@ -63,7 +63,8 @@ void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid,
 
        lockdep_assert_held(&sta->ampdu_mlme.mtx);
 
-       tid_rx = sta->ampdu_mlme.tid_rx[tid];
+       tid_rx = rcu_dereference_protected(sta->ampdu_mlme.tid_rx[tid],
+                                       lockdep_is_held(&sta->ampdu_mlme.mtx));
 
        if (!tid_rx)
                return;