]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge branch 'libbpf-fix-reuse-of-devmap'
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 15 Aug 2025 23:50:15 +0000 (16:50 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 15 Aug 2025 23:52:53 +0000 (16:52 -0700)
commit3ec85602f86c694b605ffc1977cad1f56fe1749e
tree5f77a2546e36eea99eb95d4c3a11d34025be250c
parentabdaf49be5424db74e19d167c10d7dad79a0efc2
parent7f8fa9d370c11ba2fb296598267e14d3bfe4ea11
Merge branch 'libbpf-fix-reuse-of-devmap'

Yureka Lilian says:

====================
libbpf: fix reuse of DEVMAP

changes in v3:

- instead of setting BPF_F_RDONLY_PROG on both sides, just
  clear BPF_F_RDONLY_PROG in map_info.map_flags as suggested
  by Andrii Nakryiko

- in the test, use ASSERT_* instead of CHECK
- shorten the test by using open_and_load from the skel
- in the test, drop NULL check before unloading/destroying bpf objs

- start the commit messages with "libbpf" and "selftests/bpf"
  respectively instead of just "bpf"

changes in v2:

- preserve compatibility with older kernels
- add a basic selftest covering the re-use of DEVMAP maps
====================

Link: https://patch.msgid.link/20250814180113.1245565-2-yuka@yuka.dev
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>