]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rds: Changed IP address internal representation to struct in6_addr
authorKa-Cheong Poon <ka-cheong.poon@oracle.com>
Fri, 20 Oct 2017 09:08:36 +0000 (02:08 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 11 Dec 2017 04:20:12 +0000 (20:20 -0800)
commit4d2cc57ee46bca9a504a4bb2face13c7a189af49
tree3ca27802a8a17eecbb9eb1be1bdb84e7df8b0698
parenta37d6901204b4d00fa072224d6a9c8b8463e0b17
rds: Changed IP address internal representation to struct in6_addr

This patch changed the internal representation of an IP address to use
struct in6_addr.  IPv4 address is stored as an IPv4 mapped address.
All the functions which take an IP address as argument are also
changed to use struct in6_addr.  But RDS socket layer is not modified
such that it still does not accept IPv6 address from an application.
And RDS layer does not accept nor initiate IPv6 connections.

The RDS netfilter header is changed.  User of RDS netfilter will need
to be re-compiled.

Orabug: 25410192

Signed-off-by: Ka-Cheong Poon <ka-cheong.poon@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
24 files changed:
include/uapi/linux/rds.h
net/rds/af_rds.c
net/rds/bind.c
net/rds/cong.c
net/rds/connection.c
net/rds/ib.c
net/rds/ib.h
net/rds/ib_cm.c
net/rds/ib_rdma.c
net/rds/ib_recv.c
net/rds/ib_send.c
net/rds/loop.c
net/rds/rdma.c
net/rds/rdma_transport.c
net/rds/rds.h
net/rds/recv.c
net/rds/send.c
net/rds/tcp.c
net/rds/tcp_connect.c
net/rds/tcp_listen.c
net/rds/tcp_recv.c
net/rds/tcp_send.c
net/rds/threads.c
net/rds/transport.c