As discussed on this mailing list, libbpf should retry loading a
program if the syscall returns EAGAIN.

The patch is straightforward to write, but less straightforward to
test. Please let me know if you have an idea for a reliable test.

Lorenz Bauer (1):
  bpf: libbpf: retry loading program on EAGAIN

 tools/lib/bpf/bpf.c | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

-- 
2.19.1

Reply via email to