diff options
| author | Amery Hung <ameryhung@gmail.com> | 2026-04-13 12:02:57 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-04-15 12:10:20 -0700 |
| commit | 36bf7beb9d23bfe7feba6f376a0c13ed7b670cf8 (patch) | |
| tree | 0dbfd5f3894a8f20636102bf58fc35c0377d3422 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b3dde701e73354eb1c5027adbf01a147b056954a (diff) | |
selftests/bpf: Prevent allocating data larger than a page
Fix a bug in the task local data library that may allocate more than a
a page for tld_data_u. This may happen when users set a too large
TLD_DYN_DATA_SIZE, so check it when creating dynamic TLD fields and fix
the corresponding selftest.
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Link: https://lore.kernel.org/r/20260413190259.358442-2-ameryhung@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
