diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2018-07-25 18:20:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-26 01:33:05 -0400 |
commit | ba7d7e2677c0953b251c36588b15f5f442e59c84 (patch) | |
tree | 779639d10d94c4f519eb03c6905a136cb0ea3ab5 | |
parent | b9a9ad782f9db64daccc66a490e157f9c499a480 (diff) |
net/rds/Kconfig: RDS should depend on IPV6
Build error, implicit declaration of function __inet6_ehashfn shows up
When RDS is enabled but not IPV6.
net/rds/connection.c: In function ‘rds_conn_bucket’:
net/rds/connection.c:67:9: error: implicit declaration of function ‘__inet6_ehashfn’; did you mean ‘__inet_ehashfn’? [-Werror=implicit-function-declaration]
hash = __inet6_ehashfn(lhash, 0, fhash, 0, rds_hash_secret);
^~~~~~~~~~~~~~~
__inet_ehashfn
Current code adds IPV6 as a depends on in config RDS.
Fixes: eee2fa6ab322 ("rds: Changing IP address internal representation to struct in6_addr")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/rds/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/Kconfig b/net/rds/Kconfig index 41f75563b54b..607128f10bcd 100644 --- a/net/rds/Kconfig +++ b/net/rds/Kconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | 1 | ||
2 | config RDS | 2 | config RDS |
3 | tristate "The RDS Protocol" | 3 | tristate "The RDS Protocol" |
4 | depends on INET | 4 | depends on INET && CONFIG_IPV6 |
5 | ---help--- | 5 | ---help--- |
6 | The RDS (Reliable Datagram Sockets) protocol provides reliable, | 6 | The RDS (Reliable Datagram Sockets) protocol provides reliable, |
7 | sequenced delivery of datagrams over Infiniband or TCP. | 7 | sequenced delivery of datagrams over Infiniband or TCP. |