aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2019-10-28 12:52:42 +0100
committerJohannes Berg <johannes.berg@intel.com>2019-11-08 10:18:31 +0100
commitf61d7884cef8f1a46ed676adac313b7b53211a8a (patch)
treea4b4b50bba9083a93de5cb6c3b2070f30e4a8b5a /include/net/mac80211.h
parentmac80211: move store skb ack code to its own function (diff)
downloadlinux-dev-f61d7884cef8f1a46ed676adac313b7b53211a8a.tar.xz
linux-dev-f61d7884cef8f1a46ed676adac313b7b53211a8a.zip
mac80211: don't re-parse elems in ieee80211_assoc_success()
We've already parsed the same data in the caller, so we can pass it. The only thing is that we might fill in more details in ieee80211_assoc_success(), but that doesn't bother the caller, so it's fine to do even when we share the parsed data. This reduces the stack space usage of the call stack here, Arnd reported it had grown above the 1024 byte warning limit. Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Link: https://lore.kernel.org/r/20191028125240.cb7661671bd2.I757c8752bf4f2f35e54f5e0a2c0a9cd9216c3d8b@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
0 files changed, 0 insertions, 0 deletions