Hi Mathieu, Thank you for the patch! Yet something to improve:
[auto build test ERROR on bpf-next/master] url: https://github.com/0day-ci/linux/commits/Mathieu-Xhonneux/ipv6-sr-introduce-seg6local-End-BPF-action/20180506-233046 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master config: parisc-allmodconfig (attached as .config) compiler: hppa-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=parisc All errors (new ones prefixed by >>): net/core/filter.o: In function `bpf_push_seg6_encap': >> (.text.bpf_push_seg6_encap+0x40): undefined reference to `seg6_validate_srh' >> (.text.bpf_push_seg6_encap+0x74): undefined reference to `seg6_do_srh_inline' >> (.text.bpf_push_seg6_encap+0xa8): undefined reference to `seg6_do_srh_encap' >> (.text.bpf_push_seg6_encap+0xe8): undefined reference to >> `seg6_lookup_nexthop' net/core/filter.o: In function `bpf_lwt_seg6_store_bytes': >> (.text.bpf_lwt_seg6_store_bytes+0x48): undefined reference to >> `seg6_bpf_srh_states' (.text.bpf_lwt_seg6_store_bytes+0x4c): undefined reference to `seg6_bpf_srh_states' net/core/filter.o: In function `bpf_lwt_seg6_action': >> (.text.bpf_lwt_seg6_action+0x48): undefined reference to >> `seg6_bpf_srh_states' (.text.bpf_lwt_seg6_action+0x4c): undefined reference to `seg6_bpf_srh_states' >> (.text.bpf_lwt_seg6_action+0xc8): undefined reference to `seg6_validate_srh' >> (.text.bpf_lwt_seg6_action+0x12c): undefined reference to >> `seg6_lookup_nexthop' (.text.bpf_lwt_seg6_action+0x14c): undefined reference to `seg6_lookup_nexthop' net/core/filter.o: In function `bpf_lwt_seg6_adjust_srh': >> (.text.bpf_lwt_seg6_adjust_srh+0x38): undefined reference to >> `seg6_bpf_srh_states' (.text.bpf_lwt_seg6_adjust_srh+0x3c): undefined reference to `seg6_bpf_srh_states' --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip