diff options
| author | Yuan Chen <chenyuan@kylinos.cn> | 2026-08-31 14:32:26 +0800 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2026-09-02 16:24:12 -0700 |
| commit | 33576bfee5b7f65e3df651ac33f83fdcf1f04233 (patch) | |
| tree | 2601092032fd961be482204439affd28ee22927f /tools/lib/python/kdoc | |
| parent | 802a30c5db726639df7f93b3a1982ecc64202abe (diff) | |
| download | linux-next-33576bfee5b7f65e3df651ac33f83fdcf1f04233.tar.gz linux-next-33576bfee5b7f65e3df651ac33f83fdcf1f04233.zip | |
selftests/bpf: Add regression test for queue/stack map size limit
Verify that queue/stack maps whose element storage would overflow the
u32 head/tail index multiplication are rejected at creation time, and
that max_entries == U32_MAX (which would wrap the u32 capacity counter
to 0) is rejected as well.
Signed-off-by: Yuan Chen <chenyuan@kylinos.cn>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20260831063226.621309-3-chenyuan_fl@163.com
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
