Re: linux-next: Tree for Mar 9 (net: bpf)
From: Randy Dunlap
Date: Wed Mar 09 2016 - 12:18:21 EST
On 03/09/16 09:07, Randy Dunlap wrote:
> On 03/09/16 08:48, Daniel Borkmann wrote:
>> On 03/09/2016 05:44 PM, Randy Dunlap wrote:
>>> On 03/08/16 21:38, Stephen Rothwell wrote:
>>>> Hi all,
>>>>
>>>> Changes since 20160308:
>>>
>>> on x86_64:
>>>
>>> ../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);
>>> ^
>>> Full randconfig file is attached.
>>
>> Already fixed with net-next commit e28e87ed474c ("ip_tunnel, bpf:
>> ip_tunnel_info_opts_{get, set} depends on CONFIG_INET").
>>
>> Thanks,
>> Daniel
>>
>
> Hi Daniel,
>
> Is that patch on the netdev mailing list or patchwork?
> I can't find it.
>
> Does it handle where net/Kconfig symbol NET selects BPF unconditionally?
I got the patch from git and tested it. Works. Thanks.
--
~Randy