diff options
author | Johannes Berg <johannes.berg@intel.com> | 2019-10-28 12:52:42 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-11-08 10:18:31 +0100 |
commit | f61d7884cef8f1a46ed676adac313b7b53211a8a (patch) | |
tree | a4b4b50bba9083a93de5cb6c3b2070f30e4a8b5a /net/mac80211/tx.c | |
parent | mac80211: move store skb ack code to its own function (diff) | |
download | linux-f61d7884cef8f1a46ed676adac313b7b53211a8a.tar.xz linux-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 'net/mac80211/tx.c')
0 files changed, 0 insertions, 0 deletions