]> git.ipfire.org Git - thirdparty/linux.git/commit
Merge branch 'bpf-cpumap-improve-error-propagation-in-cpu_map_update_elem'
authorAlexei Starovoitov <ast@kernel.org>
Wed, 10 Dec 2025 07:53:27 +0000 (23:53 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 10 Dec 2025 07:53:27 +0000 (23:53 -0800)
commitc93c1246003d5f102b0921e1c7747e72922fb537
tree1ad41efdad5f73ee9ba1adb8e54d85e6667a5256
parent5d9fb42f05e5bea386e6648d5699c2beaabe1c6a
parent18352f8fae91d23bbd7165a7b2a1f15c4f5beff8
Merge branch 'bpf-cpumap-improve-error-propagation-in-cpu_map_update_elem'

Kohei Enju says:

====================
bpf: cpumap: improve error propagation in cpu_map_update_elem()

This series improves error propagation in cpumap and adds selftests that
cover the failure cases.

Currently, failures returned from __cpu_map_entry_alloc() are ignored
and always converted to -ENOMEM by cpu_map_update_elem(). This series
ensures the correct error propagation and adds selftests.

Changes:
  v2:
    - send to bpf-next, not to bpf
    - drop Fixes: tag
  v1: https://lore.kernel.org/bpf/20251128160504.57844-1-enjuk@amazon.com/
====================

Link: https://patch.msgid.link/20251208131449.73036-1-enjuk@amazon.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>