309-mac80211-calculcate-skb-hash-early-when-using-itxq.patch 542 B

12345678910111213141516171819
  1. From: Felix Fietkau <[email protected]>
  2. Date: Sun, 26 Jul 2020 14:42:58 +0200
  3. Subject: [PATCH] mac80211: calculcate skb hash early when using itxq
  4. This avoids flow separation issues when using software encryption
  5. Signed-off-by: Felix Fietkau <[email protected]>
  6. ---
  7. --- a/net/mac80211/tx.c
  8. +++ b/net/mac80211/tx.c
  9. @@ -3937,6 +3937,7 @@ void __ieee80211_subif_start_xmit(struct
  10. if (local->ops->wake_tx_queue) {
  11. u16 queue = __ieee80211_select_queue(sdata, sta, skb);
  12. skb_set_queue_mapping(skb, queue);
  13. + skb_get_hash(skb);
  14. }
  15. if (sta) {