Subject: Re: [PATCH v2 net-next 13/13] ipv6: route: per route IP tunnel metadata via lightweight tunnel

From: YOSHIFUJI Hideaki <[email-masked]>
Date: Wed, 19 Aug 2015 19:17:21 +0900

Jiri Benc wrote:
> Allow specification of per route IP tunnel instructions also for IPv6.
> This complements commit 3093fbe7ff4b ("route: Per route IP tunnel metadata
> via lightweight tunnel").
> 
> Signed-off-by: Jiri Benc <[email-masked]>
> ---
>  include/uapi/linux/lwtunnel.h |  16 +++++++
>  net/ipv4/ip_tunnel_core.c     | 102 ++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 118 insertions(+)
> 
> diff --git a/include/uapi/linux/lwtunnel.h b/include/uapi/linux/lwtunnel.h
> index aa84ca396bcb..32a149571417 100644
> --- a/include/uapi/linux/lwtunnel.h
> +++ b/include/uapi/linux/lwtunnel.h
> @@ -7,6 +7,7 @@ enum lwtunnel_encap_types {
>  	LWTUNNEL_ENCAP_NONE,
>  	LWTUNNEL_ENCAP_MPLS,
>  	LWTUNNEL_ENCAP_IP,
> +	LWTUNNEL_ENCAP_IP6,
>  	LWTUNNEL_ENCAP_ILA,
>  	__LWTUNNEL_ENCAP_MAX,
>  };

Please do not add new one in the middle of enums.

--yoshfuji