From: Felix Fietkau Date: Sun, 26 Jul 2020 13:09:47 +0000 (+0200) Subject: mac80211: calculate skb hash early when using itxq X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=180ac48ee62f53c26787350a956c5ac371cbe0b7;p=linux.git mac80211: calculate skb hash early when using itxq This avoids flow separation issues when using software encryption. Signed-off-by: Felix Fietkau Link: https://lore.kernel.org/r/20200726130947.88145-2-nbd@nbd.name Signed-off-by: Johannes Berg --- diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 7c0abe477b03b..fd44a71eea583 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) {