[include] rename PATCH to KPATCH
[openwrt.git] / package / mac80211 / patches / 300-mac80211_release_reorder_fix.patch
1 [PATCH] mac80211: hoist sta->lock from reorder release timer
2
3 The patch "mac80211: AMPDU rx reorder timeout timer" clashes
4 with "mac80211: use netif_receive_skb in ieee80211_rx callpath"
5
6 The timer itself is part of the station's private struct and
7 it gets killed whenever the station is removed. Therefore
8 the extra sta->lock protection (that can interferes with the
9 tx path) is not necessary.
10
11 Reported-by: Ming Lei <tom.leiming@gmail.com>
12 Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
13 ---
14 --- a/net/mac80211/agg-rx.c
15 +++ b/net/mac80211/agg-rx.c
16 @@ -129,9 +129,7 @@ static void sta_rx_agg_reorder_timer_exp
17 timer_to_tid[0]);
18
19 rcu_read_lock();
20 - spin_lock(&sta->lock);
21 ieee80211_release_reorder_timeout(sta, *ptid);
22 - spin_unlock(&sta->lock);
23 rcu_read_unlock();
24 }
25
This page took 0.051773 seconds and 5 git commands to generate.