On 7/13/18 11:05 AM, Dan Carpenter wrote: > "prog_cnt" is the number of elements which are filled out in prog_fd[] > so the test should be >= instead of >. > > Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com> >
Fixes: 554ae6e792ef3 ("samples/bpf: add userspace example for prohibiting sockets") Reviewed-by: David Ahern <dsah...@gmail.com> Thanks for the fix.