diff options
author | Trond Myklebust | 2015-02-08 21:00:06 +0100 |
---|---|---|
committer | Trond Myklebust | 2015-02-09 00:52:11 +0100 |
commit | 4dda9c8a5e34773b290c6b5938ccb36e7fcdf35c (patch) | |
tree | cbbed61fb38c38f281f7a5775d4a793e4ebe401d /net/sunrpc/clnt.c | |
parent | Merge tag 'nfs-rdma-for-3.20-part-2' of git://git.linux-nfs.org/projects/anna... (diff) | |
download | kernel-qcow2-linux-4dda9c8a5e34773b290c6b5938ccb36e7fcdf35c.tar.gz kernel-qcow2-linux-4dda9c8a5e34773b290c6b5938ccb36e7fcdf35c.tar.xz kernel-qcow2-linux-4dda9c8a5e34773b290c6b5938ccb36e7fcdf35c.zip |
SUNRPC: Set SO_REUSEPORT socket option for TCP connections
When using TCP, we need the ability to reuse port numbers after
a disconnection, so that the NFSv3 server knows that we're the same
client. Currently we use a hack to work around the TCP socket's
TIME_WAIT: we send an RST instead of closing, which doesn't
always work...
The SO_REUSEPORT option added in Linux 3.9 allows us to bind multiple
TCP connections to the same source address+port combination, and thus
to use ordinary TCP close() instead of the current hack.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net/sunrpc/clnt.c')
0 files changed, 0 insertions, 0 deletions