SUNRPC: xprt_load_transport() needs to support the netid "rdma6"
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 6 Nov 2020 21:33:38 +0000 (16:33 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Dec 2020 19:05:52 +0000 (14:05 -0500)
commitd5aa6b22e2258f05317313ecc02efbb988ed6d38
tree44644b2fa4c7a7583a31163d80014b00350d565d
parent794092c57f89c2c833da00f82f38a0afcb4033bc
SUNRPC: xprt_load_transport() needs to support the netid "rdma6"

According to RFC5666, the correct netid for an IPv6 addressed RDMA
transport is "rdma6", which we've supported as a mount option since
Linux-4.7. The problem is when we try to load the module "xprtrdma6",
that will fail, since there is no modulealias of that name.

Fixes: 181342c5ebe8 ("xprtrdma: Add rdma6 option to support NFS/RDMA IPv6")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c
net/sunrpc/xprtrdma/module.c
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtsock.c