lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <56DF36DB.8060404@iogearbox.net>
Date:	Tue, 08 Mar 2016 21:32:27 +0100
From:	Daniel Borkmann <daniel@...earbox.net>
To:	kbuild test robot <fengguang.wu@...el.com>
CC:	kbuild-all@...org, netdev@...r.kernel.org
Subject: Re: [net-next:master 1077/1082] net/core/filter.c:1824:2: error:
 implicit declaration of function 'ip_tunnel_info_opts_get'

On 03/08/2016 09:20 PM, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
> head:   f8b33d8e870758ccff13e5f81fd5050b52a42d35
> commit: 14ca0751c96f8d3d0f52e8ed3b3236f8b34d3460 [1077/1082] bpf: support for access to tunnel options
> config: x86_64-randconfig-i0-03080544 (attached as .config)
> reproduce:
>          git checkout 14ca0751c96f8d3d0f52e8ed3b3236f8b34d3460
>          # save the attached .config to linux build tree
>          make ARCH=x86_64
>
> All errors (new ones prefixed by >>):
>
>     net/core/filter.c: In function 'bpf_skb_get_tunnel_opt':
>>> net/core/filter.c:1824:2: error: implicit declaration of function 'ip_tunnel_info_opts_get' [-Werror=implicit-function-declaration]
>       ip_tunnel_info_opts_get(to, info);
>       ^
>     net/core/filter.c: In function 'bpf_skb_set_tunnel_opt':
>>> net/core/filter.c:1918:2: error: implicit declaration of function 'ip_tunnel_info_opts_set' [-Werror=implicit-function-declaration]
>       ip_tunnel_info_opts_set(info, from, size);
>       ^
>     cc1: some warnings being treated as errors

Hmm, I see, it depends on CONFIG_INET, the rest of tunnel key API apparently not. :/

The attached .config here has:

# CONFIG_INET is not set

I'll send you a follow-up fix.

Thanks,
Daniel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ