diff options
author | Mordechay Goodstein <[email protected]> | 2021-10-21 16:30:36 +0200 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2021-10-21 16:46:02 +0200 |
commit | eb3d6175e4a904f7e4b0216c52810ac6065877df (patch) | |
tree | 4bcef7479fac27c5c61771f9cc9b5b22571428aa /scripts/gdb/linux/lists.py | |
parent | 171964252189d8ad5672c730f2197aa73092db6e (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 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions