]> www.infradead.org Git - users/dwmw2/linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Jul 2022 19:20:00 +0000 (21:20 +0200)
commite013ea2a51a94b903b396a8dff531a07d470335d
tree6c6194cc71e00bd265c90883d47a621feaed3373
parentdb6e8c30154f390348b5bd6e8028461b90c0876e
wifi: mac80211: fix queue selection for mesh/OCB interfaces

commit 50e2ab39291947b6c6c7025cf01707c270fcde59 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/wme.c