summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-07-26 16:09:47 +0300
committerJohannes Berg <johannes.berg@intel.com>2020-07-31 10:24:24 +0300
commit180ac48ee62f53c26787350a956c5ac371cbe0b7 (patch)
tree138fcfcd063c45566f5107743bdcb8f0d24fe460 /net/mac80211
parent48a54f6bc456859dabbd1fbd805e233d260754cf (diff)
downloadlinux-180ac48ee62f53c26787350a956c5ac371cbe0b7.tar.xz
mac80211: calculate skb hash early when using itxq
This avoids flow separation issues when using software encryption. Signed-off-by: Felix Fietkau <nbd@nbd.name> Link: https://lore.kernel.org/r/20200726130947.88145-2-nbd@nbd.name Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/tx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 7c0abe477b03..fd44a71eea58 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -3952,6 +3952,7 @@ void __ieee80211_subif_start_xmit(struct sk_buff *skb,
if (local->ops->wake_tx_queue) {
u16 queue = __ieee80211_select_queue(sdata, sta, skb);
skb_set_queue_mapping(skb, queue);
+ skb_get_hash(skb);
}
if (sta) {