[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181015.222054.1171518157059418301.davem@davemloft.net>
Date: Mon, 15 Oct 2018 22:20:54 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dhowells@...hat.com
Cc: netdev@...r.kernel.org, kbuild-all@...org, arnd@...db.de,
linux-afs@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] rxrpc: Fix incorrect conditional on IPV6
From: David Howells <dhowells@...hat.com>
Date: Fri, 12 Oct 2018 16:38:36 +0100
> The udpv6_encap_enable() function is part of the ipv6 code, and if that is
> configured as a loadable module and rxrpc is built in then a build failure
> will occur because the conditional check is wrong:
>
> net/rxrpc/local_object.o: In function `rxrpc_lookup_local':
> local_object.c:(.text+0x2688): undefined reference to `udpv6_encap_enable'
>
> Use the correct config symbol (CONFIG_AF_RXRPC_IPV6) in the conditional
> check rather than CONFIG_IPV6 as that will do the right thing.
>
> Fixes: 5271953cad31 ("rxrpc: Use the UDP encap_rcv hook")
> Reported-by: kbuild-all@...org
> Reported-by: Arnd Bergmann <arnd@...db.de>
> Signed-off-by: David Howells <dhowells@...hat.com>
> Reviewed-by: Arnd Bergmann <arnd@...db.de>
Applied.
Powered by blists - more mailing lists