Re: [PATCH net-next v2 3/5] bpf: Split lwt inout verifier structures

2018-04-26 Thread kbuild test robot
Hi Mathieu, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Mathieu-Xhonneux/ipv6-sr-introduce-seg6local-End-BPF-action/20180426-082209 reproduce: # apt-get install sparse make A

[PATCH net-next v2 3/5] bpf: Split lwt inout verifier structures

2018-04-24 Thread Mathieu Xhonneux
The new bpf_lwt_push_encap helper should only be accessible within the LWT BPF IN hook, and not the OUT one, as this may lead to a skb under panic. At the moment, both LWT BPF IN and OUT share the same list of helpers, whose calls are authorized by the verifier. This patch separates the verifier o