]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mac80211: fix reordering of buffered broadcast packets
authorFelix Fietkau <nbd@nbd.name>
Wed, 28 Nov 2018 21:39:16 +0000 (22:39 +0100)
committerSultan Alsawaf <sultan.alsawaf@canonical.com>
Wed, 24 Jul 2019 15:45:05 +0000 (09:45 -0600)
commit559d138951df9cd8778d8b94dda2514fff0cd7ee
treea424fd5f96f4f1d065d0a150463f01ddcc5a7ecf
parentbd4cd6a8ceeeac12554ce869df555e4147c106ed
mac80211: fix reordering of buffered broadcast packets

BugLink: https://bugs.launchpad.net/bugs/1837161
commit 9ec1190d065998650fd9260dea8cf3e1f56c0e8c upstream.

If the buffered broadcast queue contains packets, letting new packets bypass
that queue can lead to heavy reordering, since the driver is probably throttling
transmission of buffered multicast packets after beacons.

Keep buffering packets until the buffer has been cleared (and no client
is in powersave mode).

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
net/mac80211/tx.c