Re: tools/bpf regression causing samples/bpf/ to hang

2018-09-11 Thread Björn Töpel
Den tis 11 sep. 2018 kl 20:21 skrev Yonghong Song : > > > > On 9/11/18 10:15 AM, Björn Töpel wrote: > > Den tis 11 sep. 2018 kl 18:47 skrev Yonghong Song : > >> > >> > >> > >> On 9/11/18 4:11 AM, Björn Töpel wrote: > >>> Hi Yonghong, I tried to run the XDP samples from the bpf-next tip > >>> today,

Re: tools/bpf regression causing samples/bpf/ to hang

2018-09-11 Thread Yonghong Song
On 9/11/18 10:15 AM, Björn Töpel wrote: Den tis 11 sep. 2018 kl 18:47 skrev Yonghong Song : On 9/11/18 4:11 AM, Björn Töpel wrote: Hi Yonghong, I tried to run the XDP samples from the bpf-next tip today, and was hit by a regression. Commit f7010770fbac ("tools/bpf: move bpf/lib netlink r

Re: tools/bpf regression causing samples/bpf/ to hang

2018-09-11 Thread Björn Töpel
Den tis 11 sep. 2018 kl 18:47 skrev Yonghong Song : > > > > On 9/11/18 4:11 AM, Björn Töpel wrote: > > Hi Yonghong, I tried to run the XDP samples from the bpf-next tip > > today, and was hit by a regression. > > > > Commit f7010770fbac ("tools/bpf: move bpf/lib netlink related > > functions into a

Re: tools/bpf regression causing samples/bpf/ to hang

2018-09-11 Thread Yonghong Song
On 9/11/18 4:11 AM, Björn Töpel wrote: Hi Yonghong, I tried to run the XDP samples from the bpf-next tip today, and was hit by a regression. Commit f7010770fbac ("tools/bpf: move bpf/lib netlink related functions into a new file") adds a while(1) around the recv call in bpf_set_link_xdp_fd ma

tools/bpf regression causing samples/bpf/ to hang

2018-09-11 Thread Björn Töpel
Hi Yonghong, I tried to run the XDP samples from the bpf-next tip today, and was hit by a regression. Commit f7010770fbac ("tools/bpf: move bpf/lib netlink related functions into a new file") adds a while(1) around the recv call in bpf_set_link_xdp_fd making that call getting stuck in an infinite