mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
![Anders Roxell](/assets/img/avatar_default.png)
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: eee2fa6ab3
("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>
26 lines
669 B
Text
26 lines
669 B
Text
|
|
config RDS
|
|
tristate "The RDS Protocol"
|
|
depends on INET && CONFIG_IPV6
|
|
---help---
|
|
The RDS (Reliable Datagram Sockets) protocol provides reliable,
|
|
sequenced delivery of datagrams over Infiniband or TCP.
|
|
|
|
config RDS_RDMA
|
|
tristate "RDS over Infiniband"
|
|
depends on RDS && INFINIBAND && INFINIBAND_ADDR_TRANS
|
|
---help---
|
|
Allow RDS to use Infiniband as a transport.
|
|
This transport supports RDMA operations.
|
|
|
|
config RDS_TCP
|
|
tristate "RDS over TCP"
|
|
depends on RDS
|
|
---help---
|
|
Allow RDS to use TCP as a transport.
|
|
This transport does not support RDMA operations.
|
|
|
|
config RDS_DEBUG
|
|
bool "RDS debugging messages"
|
|
depends on RDS
|
|
default n
|