projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d6e371
)
mac80211: add missing queue/hash initialization to 802.3 xmit
author
Felix Fietkau
<nbd@nbd.name>
Tue, 8 Sep 2020 12:36:49 +0000
(14:36 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Fri, 18 Sep 2020 09:54:44 +0000
(11:54 +0200)
Fixes AQL for encap-offloaded tx
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link:
https://lore.kernel.org/r/20200908123702.88454-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 d2136007e2eb6a14042ec970d6520dcf5567158c..bee9b01c5a6be7d85583cb52c21f65cf0bc4b584 100644
(file)
--- a/
net/mac80211/tx.c
+++ b/
net/mac80211/tx.c
@@
-4209,6
+4209,12
@@
static void ieee80211_8023_xmit(struct ieee80211_sub_if_data *sdata,
if (is_zero_ether_addr(ra))
goto out_free;
+ if (local->ops->wake_tx_queue) {
+ u16 queue = __ieee80211_select_queue(sdata, sta, skb);
+ skb_set_queue_mapping(skb, queue);
+ skb_get_hash(skb);
+ }
+
multicast = is_multicast_ether_addr(ra);
if (sta)