Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df55603b authored by Zhu Jianmin's avatar Zhu Jianmin Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarDedy Lansky <dlansky@codeaurora.org>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Git-commit: 1039d08100e58f016a814347baadb77bf8dd21ab
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Change-Id: I224ac6113e4b15958f3b155982ff5cf84ff9ed74
CRs-Fixed: 2207276
Signed-off-by: default avatarWen Gong <wgong@codeaurora.org>
Signed-off-by: default avatarZhu Jianmin <jianminz@codeaurora.org>
parent 37805d9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment