OSDN Git Service

mac80211: reduce stack usage in debugfs
authorJohannes Berg <johannes.berg@intel.com>
Mon, 20 Sep 2021 13:40:06 +0000 (15:40 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 Sep 2021 14:26:14 +0000 (16:26 +0200)
commit01f84f0ed3b431b9aa40ad0af7d6849056fd3064
tree2295efe50ca4110709044d376e38f897d0b5a835
parent40f231e75a1d986a8f8705765e2c5c770370318c
mac80211: reduce stack usage in debugfs

We put a few large buffers on the stack here, but it's easy to
just allocate them on the heap, so do that.

Link: https://lore.kernel.org/r/20210920154009.1387f44e7382.Ife043c169e6a44edace516fea9f8311a5ca4282a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/debugfs_sta.c