]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Jul 2022 18:59:17 +0000 (20:59 +0200)
commitc24aed207a70e89d27523b3430e4e3db0da730f5
tree84c1ac98ba5d92e876d2c95daf532239b97b2982
parent0d4f6329eda170da00b0a51890f1013c9ae9cb7e
wifi: mac80211: fix queue selection for mesh/OCB interfaces

commit fb57fc3741cdb55f4300f009ad957acaa8a02846 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