[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161113.002055.1386089188095640295.davem@davemloft.net>
Date: Sun, 13 Nov 2016 00:20:55 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: david.lebrun@...ouvain.be
Cc: netdev@...r.kernel.org, lorenzo@...gle.com
Subject: Re: [PATCH net-next v2] ipv6: sr: fix IPv6 initialization failure
without lwtunnels
From: David Lebrun <david.lebrun@...ouvain.be>
Date: Thu, 10 Nov 2016 13:26:53 +0100
> v2: fix conditional compilation for seg6_iptunnel.o in Makefile
>
> This patch compiles SR lwtunnels support only if CONFIG_LWTUNNEL=y.
>
> If IPv6 is enabled and CONFIG_LWTUNNEL=n, then seg6_iptunnel_init()
> fails with EOPNOTSUPP which in turn makes seg6_init() fail, blocking
> the IPv6 initialization, with the following messages:
>
> 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
>
> Fix commit 6c8702c60b88 ("ipv6: sr: add support for SRH encapsulation and injection with lwtunnels")
>
> Tested with various combinations of CONFIG_IPV6 and CONFIG_LWTUNNEL.
>
> Reported-by: Lorenzo Colitti <lorenzo@...gle.com>
> Signed-off-by: David Lebrun <david.lebrun@...ouvain.be>
Applied, thanks David.
Powered by blists - more mailing lists