]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'bpf-add-percpu-map-value-size-check'
authorAndrii Nakryiko <andrii@kernel.org>
Wed, 11 Sep 2024 20:22:23 +0000 (13:22 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 11 Sep 2024 20:22:49 +0000 (13:22 -0700)
Tao Chen says:

====================
bpf: Add percpu map value size check

Check percpu map value size first and add the test case in selftest.

Change list:
- v2 -> v3:
    - use bpf_map_create API and mv test case in map_percpu_stats.c
- v1 -> v2:
    - round up map value size with 8 bytes in patch 1
    - add selftest case in patch 2
====================

Link: https://lore.kernel.org/r/20240910144111.1464912-1-chen.dylane@gmail.com
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>

Trivial merge