]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
cfg80211/mac80211: revert to stack allocation for sinfo
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 May 2018 07:57:55 +0000 (09:57 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 May 2018 09:14:35 +0000 (11:14 +0200)
commit73887fd906bb77a974fa02663df9937d0aff053a
tree9f2301560feb727cca41cb72fd8848dc302b7392
parent8689c051a20195b228e19acb155c7d6e48a86753
cfg80211/mac80211: revert to stack allocation for sinfo

Arend's previous patch made the sinfo structure smaller
again by to dynamically allocating the per-tid stats
only when needed. Thus, revert to stack allocation for
the struct to simplify the code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ethtool.c
net/wireless/nl80211.c
net/wireless/wext-compat.c