Commit b8b1e300 authored by Soma Nakata's avatar Soma Nakata Committed by Alexei Starovoitov
Browse files

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: default avatarSoma Nakata <soma.nakata@somane.sakura.ne.jp>
Acked-by: default avatarHou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20250106231536.52856-1-soma.nakata@somane.sakura.ne.jp


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent bab18c7d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment