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

Thomas Graf tgraf at suug.ch
Fri May 9 03:43:23 PDT 2014


On 05/07/14 at 10:22am, 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’)
> ...
> 
> Cc: Susant Sahani <susant at redhat.com>
> Signed-off-by: Cong Wang <xiyou.wangcong at gmail.com>

I agree with Cong, we need a copy of this header to support older
kernels.

Acked-by: Thomas Graf <tgraf at suug.ch>



More information about the libnl mailing list