summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ibss.c
diff options
context:
space:
mode:
authorMatthias Kaehlcke2017-04-13 19:05:04 +0200
committerJohannes Berg2017-04-18 11:02:18 +0200
commitaa1702dd162f420bf85ecef0c77686ef0dbc1496 (patch)
tree54de2141081fb66adb12f8583a66dbf9a7ebcac0 /net/mac80211/ibss.c
parentmac80211: keep a separate list of monitor interfaces that are up (diff)
downloadkernel-qcow2-linux-aa1702dd162f420bf85ecef0c77686ef0dbc1496.tar.gz
kernel-qcow2-linux-aa1702dd162f420bf85ecef0c77686ef0dbc1496.tar.xz
kernel-qcow2-linux-aa1702dd162f420bf85ecef0c77686ef0dbc1496.zip
cfg80211: Fix array-bounds warning in fragment copy
__ieee80211_amsdu_copy_frag intentionally initializes a pointer to array[-1] to increment it later to valid values. clang rightfully generates an array-bounds warning on the initialization statement. Initialize the pointer to array[0] and change the algorithm from increment before to increment after consume. Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ibss.c')
0 files changed, 0 insertions, 0 deletions