summaryrefslogtreecommitdiff
path: root/kernel/bpf/stackmap.c
diff options
context:
space:
mode:
authorLorenz Bauer <lmb@cloudflare.com>2019-01-08 13:58:00 +0000
committerDaniel Borkmann <daniel@iogearbox.net>2019-01-15 21:35:34 +0100
commit86edaed379632e216a97e6bcef9f498b64522d50 (patch)
tree3ee447bf561a7a901ed4c65e11820b7c757f3c36 /kernel/bpf/stackmap.c
parent6bf3bbe1f4d4cf405e3c2bf07bbdff56d3223ec8 (diff)
downloadlwn-86edaed379632e216a97e6bcef9f498b64522d50.tar.gz
lwn-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 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions