mbox series

[0/1] bpf: libbpf: retry loading program on EAGAIN

Message ID 20190108135800.31429-1-lmb@cloudflare.com
Headers show
Series bpf: libbpf: retry loading program on EAGAIN | expand

Message

Lorenz Bauer Jan. 8, 2019, 1:57 p.m. UTC
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(-)