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>
Loading
Please sign in to comment