[Patch] tunnel: add a copy of include/linux/if_tunnel.h

Cong Wang xiyou.wangcong at gmail.com
Wed May 7 11:46:03 PDT 2014


On Wed, May 7, 2014 at 11:39 AM, Susant Sahani <susant at redhat.com> wrote:
> On 05/07/2014 10:52 PM, Cong Wang wrote:
>>
>> This should fix the following compile error:
>>
>> route/link/ipip.c:52: error: ‘IFLA_IPTUN_MAX’ undeclared here (not in a
>> function)
>> route/link/ipip.c:53: error: ‘IFLA_IPTUN_LINK’ undeclared here (not in a
>> function)
>> route/link/ipip.c:53: error: array index in initializer not of integer
>> type
>> route/link/ipip.c:53: error: (near initialization for ‘ipip_policy’)
>> route/link/ipip.c:53: error: field name not in record or union initializer
>> route/link/ipip.c:53: error: (near initialization for ‘ipip_policy’)
>
> This smells like a older kernel ;). Could I know the version please ?
>

You don't need an old kernel to reproduce it, just get a dist tarball
(make dist-bzip2) and compile it.



More information about the libnl mailing list