Hi Lawrence,

[auto build test ERROR on net-next/master]

url:    
https://github.com/0day-ci/linux/commits/Lawrence-Brakmo/bpf-BPF-cgroup-support-for-sock_ops/20170629-203719
config: arm-spear3xx_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget 
https://raw.githubusercontent.com/01org/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=arm 

All errors (new ones prefixed by >>):

   net/built-in.o: In function `____bpf_setsockopt':
>> net/core/filter.c:2721: undefined reference to `tcp_set_congestion_control'
>> net/core/filter.c:2724: undefined reference to 
>> `tcp_reinit_congestion_control'
>> net/core/filter.c:2724: undefined reference to `tcp_setsockopt'

vim +2721 net/core/filter.c

  2715                  default:
  2716                          ret = -EINVAL;
  2717                  }
  2718          } else if (level == SOL_TCP &&
  2719                     sk->sk_prot->setsockopt == tcp_setsockopt) {
  2720                  if (optname == TCP_CONGESTION) {
> 2721                          ret = tcp_set_congestion_control(sk, optval, 
> false);
  2722                          if (!ret && bpf_sock->op > 
BPF_SOCK_OPS_NEEDS_ECN)
  2723                                  /* replacing an existing ca */
> 2724                                  tcp_reinit_congestion_control(sk,
  2725                                          inet_csk(sk)->icsk_ca_ops);
  2726                  } else {
  2727                          ret = -EINVAL;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to