mac80211: merge performance improvement patches
[openwrt/staging/chunkeey.git] / package / kernel / mac80211 / patches / subsys / 309-mac80211-calculcate-skb-hash-early-when-using-itxq.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Sun, 26 Jul 2020 14:42:58 +0200
3 Subject: [PATCH] mac80211: calculcate skb hash early when using itxq
4
5 This avoids flow separation issues when using software encryption
6
7 Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 ---
9
10 --- a/net/mac80211/tx.c
11 +++ b/net/mac80211/tx.c
12 @@ -3937,6 +3937,7 @@ void __ieee80211_subif_start_xmit(struct
13 if (local->ops->wake_tx_queue) {
14 u16 queue = __ieee80211_select_queue(sdata, sta, skb);
15 skb_set_queue_mapping(skb, queue);
16 + skb_get_hash(skb);
17 }
18
19 if (sta) {