Commit ba7d7e26 authored by Anders Roxell's avatar Anders Roxell Committed by David S. Miller
Browse files

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: eee2fa6a ("rds: Changing IP address internal representation to struct in6_addr")
Signed-off-by: default avatarAnders Roxell <anders.roxell@linaro.org>
Acked-by: default avatarSantosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b9a9ad78
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line


config RDS
config RDS
	tristate "The RDS Protocol"
	tristate "The RDS Protocol"
	depends on INET
	depends on INET && CONFIG_IPV6
	---help---
	---help---
	  The RDS (Reliable Datagram Sockets) protocol provides reliable,
	  The RDS (Reliable Datagram Sockets) protocol provides reliable,
	  sequenced delivery of datagrams over Infiniband or TCP.
	  sequenced delivery of datagrams over Infiniband or TCP.