diff options
author | 2025-01-07 08:15:35 +0900 | |
---|---|---|
committer | 2025-01-08 09:35:33 -0800 | |
commit | b8b1e30016260aba338a65fdcc2bfd50933c6f0a (patch) | |
tree | 34aedc98590328ee0eb9e9431addf4f4ce81888d /scripts/generate_rust_analyzer.py | |
parent | selftests/bpf: add -std=gnu11 to BPF_CFLAGS and CFLAGS (diff) | |
download | wireguard-linux-b8b1e30016260aba338a65fdcc2bfd50933c6f0a.tar.xz wireguard-linux-b8b1e30016260aba338a65fdcc2bfd50933c6f0a.zip |
bpf: Fix range_tree_set() error handling
range_tree_set() might fail and return -ENOMEM,
causing subsequent `bpf_arena_alloc_pages` to fail.
Add the error handling.
Signed-off-by: Soma Nakata <soma.nakata@somane.sakura.ne.jp>
Acked-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20250106231536.52856-1-soma.nakata@somane.sakura.ne.jp
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions