]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: fix queue selection for mesh/OCB interfaces
authorFelix Fietkau <nbd@nbd.name>
Sat, 2 Jul 2022 14:52:27 +0000 (16:52 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Jul 2022 08:36:55 +0000 (10:36 +0200)
commit27c44edf4ecfb143d794ed24ec06ee892305e1dc
tree72c297c744ddb3a8ba22f27fee131d96fa1419a4
parent8309032cebd40287b9359e7b3b6d61caa006a2c4
wifi: mac80211: fix queue selection for mesh/OCB interfaces

When using iTXQ, the code assumes that there is only one vif queue for
broadcast packets, using the BE queue. Allowing non-BE queue marking
violates that assumption and txq->ac == skb_queue_mapping is no longer
guaranteed. This can cause issues with queue handling in the driver and
also causes issues with the recent ATF change, resulting in an AQL
underflow warning.

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20220702145227.39356-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/wme.c