diff options
author | Lorenz Bauer <lmb@cloudflare.com> | 2019-01-08 16:58:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-01 09:26:08 +0300 |
commit | 52b4947bac50cf9d0622e0dcf28f6c135ac44a5f (patch) | |
tree | db1e85695ff6e2a41d97948fd9201c086d36231f /tools/vm | |
parent | a935d78e54ccc026ae9c4f900002f35e7ecb8ed5 (diff) | |
download | linux-52b4947bac50cf9d0622e0dcf28f6c135ac44a5f.tar.xz |
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>
Diffstat (limited to 'tools/vm')
0 files changed, 0 insertions, 0 deletions