commit | 1039d08100e58f016a814347baadb77bf8dd21ab | [log] [tgz] |
---|---|---|
author | Dedy Lansky <dlansky@codeaurora.org> | Thu May 17 16:25:03 2018 +0300 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri May 18 10:01:58 2018 +0200 |
tree | 83955de339d22a11f32e7ad2008d0390ec69409a | |
parent | 814596495dd2b9d4aab92d8f89cf19060d25d2ea [diff] |
nl80211: fix nlmsg allocation in cfg80211_ft_event Allocation size of nlmsg in cfg80211_ft_event is based on ric_ies_len and doesn't take into account ies_len. This leads to NL80211_CMD_FT_EVENT message construction failure in case ft_event contains large enough ies buffer. Add ies_len to the nlmsg allocation size. Signed-off-by: Dedy Lansky <dlansky@codeaurora.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>