summaryrefslogtreecommitdiffstats
path: root/net/tipc/name_distr.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-10-12 16:38:36 +0100
committerDavid S. Miller <davem@davemloft.net>2018-10-15 22:19:46 -0700
commit7ec8dc96e1cb45693f28f1287802ef6f2888dae0 (patch)
treec845678183b9ea210eebb7d73f40de813b4a39db /net/tipc/name_distr.c
parentf547fac624be53ad8b07e9ebca7654a7827ba61b (diff)
downloadlinux-7ec8dc96e1cb45693f28f1287802ef6f2888dae0.tar.bz2
rxrpc: Fix incorrect conditional on IPV6
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@01.org Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/name_distr.c')
0 files changed, 0 insertions, 0 deletions