diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-07-26 15:09:47 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-07-31 09:24:24 +0200 |
commit | 180ac48ee62f53c26787350a956c5ac371cbe0b7 (patch) | |
tree | 138fcfcd063c45566f5107743bdcb8f0d24fe460 /net/mac80211 | |
parent | 48a54f6bc456859dabbd1fbd805e233d260754cf (diff) | |
download | linux-180ac48ee62f53c26787350a956c5ac371cbe0b7.tar.bz2 |
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.c | 1 |
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) { |