projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48a54f6
)
mac80211: calculate skb hash early when using itxq
author
Felix Fietkau
<nbd@nbd.name>
Sun, 26 Jul 2020 13:09:47 +0000
(15:09 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Fri, 31 Jul 2020 07:24:24 +0000
(09:24 +0200)
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>
net/mac80211/tx.c
patch
|
blob
|
history
diff --git
a/net/mac80211/tx.c
b/net/mac80211/tx.c
index 7c0abe477b03ba4f1beb377082e8804a3e4139dc..fd44a71eea58390271467c59b89b19d1bb78fb2a 100644
(file)
--- 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) {