svcrdma: Support IPv6 with NFS/RDMA
authorShirley Ma <shirley.ma@oracle.com>
Wed, 4 May 2016 14:52:47 +0000 (10:52 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 13 May 2016 19:53:05 +0000 (15:53 -0400)
commit696190eaf168e83fcbf0c9cf087995cdd15807e5
tree730a59f77a64bcd7797e7cc02e455bb6bfb8b6bf
parent14b7f4a1edf15808cf52dc38277ffe1d84854839
svcrdma: Support IPv6 with NFS/RDMA

Allow both IPv4 and IPv6 to bind same port at the same time,
restricts use of the IPv6 socket to IPv6 communication.

Changes from v1:
 - Check rdma_set_afonly return value (suggested by Leon Romanovsky)

Changes from v2:
 - Acked-by: Leon Romanovsky <leonro@mellanox.com>

Signed-off-by: Shirley Ma <shirley.ma@oracle.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtrdma/svc_rdma_transport.c