Johannes Berg
9e478066ea
mac80211: fix MU-MIMO follow-MAC mode
...
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.
Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-04-13 14:35:53 +02:00
..
2017-01-22 16:46:13 -05:00
2017-03-03 21:44:35 -08:00
2016-12-24 11:46:01 -08:00
2017-02-06 11:25:57 -05:00
2017-02-27 18:43:47 -08:00
2017-03-09 18:23:27 -08:00
2017-03-09 18:23:27 -08:00
2017-03-16 12:05:38 -07:00
2017-03-09 18:23:27 -08:00
2017-04-11 22:22:44 -04:00
2017-03-02 08:42:29 +01:00
2017-01-30 11:05:04 +01:00
2017-03-23 12:03:36 +01:00
2017-04-06 11:57:04 -07:00
2016-12-03 23:54:25 -05:00
2017-03-13 22:00:42 -07:00
2017-03-09 18:23:27 -08:00
2017-03-03 10:16:38 -08:00
2017-02-11 02:31:11 -05:00
2017-02-16 21:25:49 -05:00
2017-02-21 13:25:22 -05:00
2017-02-27 18:43:47 -08:00
2017-02-03 15:16:45 -05:00
2017-04-09 18:27:28 -07:00
2017-03-22 12:40:22 -07:00
2016-12-25 17:21:22 +01:00
2017-03-09 18:23:27 -08:00
2017-03-09 18:23:27 -08:00
2017-03-24 13:13:53 -07:00
2016-11-18 10:59:15 -05:00
2017-04-08 08:29:04 -07:00
2016-09-10 23:12:53 -07:00
2016-12-24 11:46:01 -08:00
2017-03-09 18:23:27 -08:00
2017-04-13 14:35:53 +02:00
2017-03-02 08:42:38 +01:00
2017-03-16 20:22:18 -07:00
2016-10-20 11:23:08 -04:00
2017-03-29 12:20:50 +02:00
2017-01-06 22:20:45 -05:00
2017-03-22 15:38:43 -07:00
2017-03-09 18:23:27 -08:00
2017-03-09 18:23:27 -08:00
2017-04-01 12:16:46 -07:00
2017-03-30 11:04:00 -07:00
2017-03-09 18:23:27 -08:00
2017-01-24 13:44:28 -05:00
2017-01-10 20:45:04 -05:00
2017-03-09 18:23:27 -08:00
2017-01-24 11:07:35 +01:00
2017-03-09 18:23:27 -08:00
2017-03-16 21:27:57 -07:00
2017-04-06 12:28:39 -07:00
2017-04-06 13:55:51 -07:00
2017-03-09 18:23:27 -08:00
2017-03-03 20:43:26 -08:00
2017-04-01 10:43:37 -07:00
2016-10-30 12:42:58 -04:00
2017-03-22 11:59:16 -07:00
2017-03-21 15:25:10 -07:00
2017-03-21 14:41:47 -07:00
2016-10-27 16:16:09 -04:00
2017-03-29 09:11:29 +02:00
2017-03-09 18:23:27 -08:00
2017-03-29 13:26:22 -07:00
2017-02-22 10:15:09 -08:00
2017-02-17 13:40:05 -05:00
2017-02-03 15:16:45 -05:00
2017-03-21 18:44:17 -07:00
2016-10-06 09:52:23 -07:00