Re: [PATCH 1/2] ipv6: hide ip6_encap_hlen/ip6_tnl_encap definitions

2016-05-29 Thread David Miller
From: Arnd Bergmann Date: Wed, 25 May 2016 16:50:45 +0200 > A recent cleanup moved MAX_IPTUN_ENCAP_OPS along with some other > definitions, but it is now invisible when CONFIG_INET is > not defined, but still referenced from ip6_tunnel.h: > > In file included from net/xfrm/xfrm_input.c:17:0: > i

[PATCH 1/2] ipv6: hide ip6_encap_hlen/ip6_tnl_encap definitions

2016-05-25 Thread Arnd Bergmann
A recent cleanup moved MAX_IPTUN_ENCAP_OPS along with some other definitions, but it is now invisible when CONFIG_INET is not defined, but still referenced from ip6_tunnel.h: In file included from net/xfrm/xfrm_input.c:17:0: include/net/ip6_tunnel.h:67:17: error: 'MAX_IPTUN_ENCAP_OPS' undeclared h