Files
twx-linux/net/mac80211
Johannes Berg 87cfeaa5e5 mac80211: fix MU-MIMO follow-MAC mode
commit 9e478066ea upstream.

There are two bugs in the follow-MAC code:
 * it treats the radiotap header as the 802.11 header
   (therefore it can't possibly work)
 * it doesn't verify that the skb data it accesses is actually
   present in the header, which is mitigated by the first point

Fix this by moving all of this out into a separate function.
This function copies the data it needs using skb_copy_bits()
to make sure it can be accessed if it's paged, and offsets
that by the possibly present vendor radiotap header.

This also makes all those conditions more readable.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-27 09:10:38 +02:00
..
…
…
2016-04-12 15:56:15 +02:00
2015-08-14 17:49:53 +02:00
2016-04-06 13:18:18 +02:00
…
…
2015-10-14 18:40:26 +02:00
2016-09-30 13:47:00 +02:00
2017-02-14 15:25:38 -08:00
…
…
2016-04-12 15:56:15 +02:00
2017-04-27 09:10:38 +02:00
2016-09-15 16:46:16 +02:00
…
…
…
…
…
…