diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-08-14 11:07:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-14 10:06:37 -0700 |
commit | f6f7a26abd14cfa0f3f3009a2d274d36798668bb (patch) | |
tree | ab8f289d9812a39c69ed05c815de3a7134ae056c | |
parent | 96d18d8254dc5a3f0067a629866af4165b3afe32 (diff) | |
download | linux-f6f7a26abd14cfa0f3f3009a2d274d36798668bb.tar.gz linux-f6f7a26abd14cfa0f3f3009a2d274d36798668bb.tar.bz2 linux-f6f7a26abd14cfa0f3f3009a2d274d36798668bb.zip |
rds: fix building with IPV6=m
When CONFIG_RDS_TCP is built-in and CONFIG_IPV6 is a loadable
module, we get a link error agains the modular ipv6_chk_addr()
function:
net/rds/tcp.o: In function `rds_tcp_laddr_check':
tcp.c:(.text+0x3b2): undefined reference to `ipv6_chk_addr'
This adds back a dependency that forces RDS_TCP to also be
a loadable module when IPV6 is one.
Fixes: e65d4d96334e ("rds: Remove IPv6 dependency")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/rds/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rds/Kconfig b/net/rds/Kconfig index 41f75563b54b..01b3bd6a3708 100644 --- a/net/rds/Kconfig +++ b/net/rds/Kconfig @@ -16,6 +16,7 @@ config RDS_RDMA config RDS_TCP tristate "RDS over TCP" depends on RDS + depends on IPV6 || !IPV6 ---help--- Allow RDS to use TCP as a transport. This transport does not support RDMA operations. |