summaryrefslogtreecommitdiff
path: root/net/rds
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2019-10-28 14:52:42 +0300
committerJohannes Berg <johannes.berg@intel.com>2019-11-08 12:18:31 +0300
commitf61d7884cef8f1a46ed676adac313b7b53211a8a (patch)
treea4b4b50bba9083a93de5cb6c3b2070f30e4a8b5a /net/rds
parent5d8983c8c3b5d7ec3326c75814e77fe167911676 (diff)
downloadlinux-f61d7884cef8f1a46ed676adac313b7b53211a8a.tar.xz
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/rds')
0 files changed, 0 insertions, 0 deletions