[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161116.113235.1086857909675049587.davem@davemloft.net>
Date: Wed, 16 Nov 2016 11:32:35 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: david.lebrun@...ouvain.be
Cc: netdev@...r.kernel.org, lorenzo@...gle.com,
roopa@...ulusnetworks.com
Subject: Re: [PATCH net-next 1/1] ipv6: sr: add option to control lwtunnel
support
From: David Lebrun <david.lebrun@...ouvain.be>
Date: Tue, 15 Nov 2016 16:14:04 +0100
> This patch adds a new option CONFIG_IPV6_SEG6_LWTUNNEL to enable/disable
> support of encapsulation with the lightweight tunnels. When this option
> is enabled, CONFIG_LWTUNNEL is automatically selected.
>
> Fix commit 6c8702c60b88 ("ipv6: sr: add support for SRH encapsulation and injection with lwtunnels")
>
> Without a proper option to control lwtunnel support for SR-IPv6, if
> CONFIG_LWTUNNEL=n then the IPv6 initialization fails as a consequence
> of seg6_iptunnel_init() failure with EOPNOTSUPP:
>
> NET: Registered protocol family 10
> IPv6: Attempt to unregister permanent protocol 6
> IPv6: Attempt to unregister permanent protocol 136
> IPv6: Attempt to unregister permanent protocol 17
> NET: Unregistered protocol family 10
>
> Tested (compiling, booting, and loading ipv6 module when relevant)
> with possible combinations of CONFIG_IPV6={y,m,n},
> CONFIG_IPV6_SEG6_LWTUNNEL={y,n} and CONFIG_LWTUNNEL={y,n}.
>
> Reported-by: Lorenzo Colitti <lorenzo@...gle.com>
> Suggested-by: Roopa Prabhu <roopa@...ulusnetworks.com>
> Signed-off-by: David Lebrun <david.lebrun@...ouvain.be>
Applied.
Powered by blists - more mailing lists