Re: [PATCH bpf] tools/bpf: fix test_sockmap failure

2018-06-21 Thread Daniel Borkmann
On 06/21/2018 07:02 PM, Yonghong Song wrote: > On one of our production test machine, when running > bpf selftest test_sockmap, I got the following error: > # sudo ./test_sockmap > libbpf: failed to create map (name: 'sock_map'): Operation not permitted > libbpf: failed to load object

[PATCH bpf] tools/bpf: fix test_sockmap failure

2018-06-21 Thread Yonghong Song
On one of our production test machine, when running bpf selftest test_sockmap, I got the following error: # sudo ./test_sockmap libbpf: failed to create map (name: 'sock_map'): Operation not permitted libbpf: failed to load object 'test_sockmap_kern.o' libbpf: Can't get the 0th fd from