aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMordechay Goodstein <[email protected]>2021-10-21 16:30:36 +0200
committerJohannes Berg <[email protected]>2021-10-21 16:46:02 +0200
commiteb3d6175e4a904f7e4b0216c52810ac6065877df (patch)
tree4bcef7479fac27c5c61771f9cc9b5b22571428aa /tools/perf/scripts/python
parent171964252189d8ad5672c730f2197aa73092db6e (diff)
mac80211: debugfs: calculate free buffer size correctly
In breaking patch buf memory moved from stack to heap and sizeof(buf) change from size of actual memory to size of the pointer to the heap. Fix this by holding a separated variable for allocate size. Fixes: 01f84f0ed3b4 ("mac80211: reduce stack usage in debugfs") Signed-off-by: Mordechay Goodstein <[email protected]> Link: https://lore.kernel.org/r/20211021163035.b9ae48c06e27.I6a6ed197110eae28cf4f6e38ce36828a7c136337@changeid Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions