]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
mac80211: don't reorder frames with SN smaller than SSN
authorSara Sharon <sara.sharon@intel.com>
Mon, 6 Feb 2017 13:28:42 +0000 (15:28 +0200)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 15 Mar 2017 15:32:11 +0000 (10:32 -0500)
commit28dfb2fe0c5772c30d128df916263d141dc1b3f6
tree0cb33e409d194cf6cd25d49c241c7b6f6614cfb0
parent9b27335ba6dcd231c450989f0185b23152ee218c
mac80211: don't reorder frames with SN smaller than SSN

BugLink: http://bugs.launchpad.net/bugs/1673118
commit b7540d8f25c8034de7e4163fc23ac457bf057731 upstream.

When RX aggregation starts, transmitter may continue send frames
with SN smaller than SSN until the AddBA response is received.
However, the reorder buffer is already initialized at this point,
which will cause the drop of such frames as duplicates since the
head SN of the reorder buffer is set to the SSN, which is bigger.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
net/mac80211/agg-rx.c
net/mac80211/rx.c
net/mac80211/sta_info.h