bpf: libbpf: retry loading program on EAGAIN
[ Upstream commit 86edaed379632e216a97e6bcef9f498b64522d50 ]
Commit c3494801cd17 ("bpf: check pending signals while
verifying programs") makes it possible for the BPF_PROG_LOAD
to fail with EAGAIN. Retry unconditionally in this case.
Fixes: c3494801cd17 ("bpf: check pending signals while verifying programs")
Signed-off-by:
Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by:
Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment