diff options
author | Lorenz Bauer <lmb@cloudflare.com> | 2019-01-08 14:58:00 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-01-15 21:35:34 +0100 |
commit | 86edaed379632e216a97e6bcef9f498b64522d50 (patch) | |
tree | 3ee447bf561a7a901ed4c65e11820b7c757f3c36 /tools/lib/find_bit.c | |
parent | samples/bpf: workaround clang asm goto compilation errors (diff) | |
download | linux-86edaed379632e216a97e6bcef9f498b64522d50.tar.xz linux-86edaed379632e216a97e6bcef9f498b64522d50.zip |
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>
Diffstat (limited to 'tools/lib/find_bit.c')
0 files changed, 0 insertions, 0 deletions