NFSD: Ignore client's source port on RDMA transports
authorChuck Lever <chuck.lever@oracle.com>
Mon, 19 May 2014 17:40:22 +0000 (13:40 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 22 May 2014 19:55:48 +0000 (15:55 -0400)
commit16e4d93f6de7063800f3f5e68f064b0ff8fae9b7
treeeb964368d663b815cd56163366e4c67ed6bf392e
parentabf1135b6ee31cc17f569f2a59f87c833ba0849c
NFSD: Ignore client's source port on RDMA transports

An NFS/RDMA client's source port is meaningless for RDMA transports.
The transport layer typically sets the source port value on the
connection to a random ephemeral port.

Currently, NFS server administrators must specify the "insecure"
export option to enable clients to access exports via RDMA.

But this means NFS clients can access such an export via IP using an
ephemeral port, which may not be desirable.

This patch eliminates the need to specify the "insecure" export
option to allow NFS/RDMA clients access to an export.

BugLink: https://bugzilla.linux-nfs.org/show_bug.cgi?id=250
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc_xprt.h
net/sunrpc/svc_xprt.c
net/sunrpc/svcsock.c
net/sunrpc/xprtrdma/svc_rdma_transport.c
This page took 0.026527 seconds and 5 git commands to generate.