Re: [PATCH bpf-next 6/6] samples: bpf: Check the prog id before exiting

2019-01-21 Thread Maciej Fijałkowski
Dnia 2019-01-17, o godz. 12:36:50 Jesper Dangaard Brouer napisał(a): > On Thu, 17 Jan 2019 02:01:15 +0100 > Maciej Fijalkowski wrote: > > > Check the program id within the signal handler on polling xdp samples > > that were previously converted to libbpf usage. Avoid the situation of > > unload

Re: [PATCH bpf-next 6/6] samples: bpf: Check the prog id before exiting

2019-01-17 Thread Jesper Dangaard Brouer
On Thu, 17 Jan 2019 02:01:15 +0100 Maciej Fijalkowski wrote: > Check the program id within the signal handler on polling xdp samples > that were previously converted to libbpf usage. Avoid the situation of > unloading the program that was not attached by sample that is exiting. I love that you a

[PATCH bpf-next 6/6] samples: bpf: Check the prog id before exiting

2019-01-16 Thread Maciej Fijalkowski
Check the program id within the signal handler on polling xdp samples that were previously converted to libbpf usage. Avoid the situation of unloading the program that was not attached by sample that is exiting. Signed-off-by: Maciej Fijalkowski Reviewed-by: Jakub Kicinski --- samples/bpf/xdp1_