OSDN Git Service

rxrpc: Make IPv6 support conditional on CONFIG_IPV6
authorDavid Howells <dhowells@redhat.com>
Sat, 17 Sep 2016 06:26:01 +0000 (07:26 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Sep 2016 07:58:45 +0000 (03:58 -0400)
commitd19127473a575c629c70974cee0bb8acb6374f08
treecce094554b7f197069025496a5e969373aac7522
parent84ce3da1bfd6fd12fce3cd06691e405a36f72cde
rxrpc: Make IPv6 support conditional on CONFIG_IPV6

Add CONFIG_AF_RXRPC_IPV6 and make the IPv6 support code conditional on it.
This is then made conditional on CONFIG_IPV6.

Without this, the following can be seen:

   net/built-in.o: In function `rxrpc_init_peer':
>> peer_object.c:(.text+0x18c3c8): undefined reference to `ip6_route_output_flags'

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/Kconfig
net/rxrpc/af_rxrpc.c
net/rxrpc/conn_object.c
net/rxrpc/local_object.c
net/rxrpc/output.c
net/rxrpc/peer_event.c
net/rxrpc/peer_object.c
net/rxrpc/utils.c