commit | 86edaed379632e216a97e6bcef9f498b64522d50 | [log] [tgz] |
---|---|---|
author | Lorenz Bauer <lmb@cloudflare.com> | Tue Jan 08 13:58:00 2019 +0000 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue Jan 15 21:35:34 2019 +0100 |
tree | 3ee447bf561a7a901ed4c65e11820b7c757f3c36 | |
parent | 6bf3bbe1f4d4cf405e3c2bf07bbdff56d3223ec8 [diff] |
bpf: libbpf: retry loading program on EAGAIN 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>