]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix VHT MCS mask array overrun
authorJohannes Berg <johannes.berg@intel.com>
Fri, 21 Aug 2015 12:07:13 +0000 (14:07 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 22 Sep 2015 13:19:48 +0000 (15:19 +0200)
commit9fb6f941f993c912af44fbd1b468b74bd1d168a2
tree1d3d5cfe6ec5cbc2211ca02c835b92ef45ba293c
parentd4c80b2e9d368a40231030db56e650419f80b9c4
mac80211: fix VHT MCS mask array overrun

The HT MCS mask has 9 bytes, the VHT one only has 8 streams.
Split the loops to handle this correctly.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c