Skip to content
Commit e6237b6f authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4.1: Don't rebind to the same source port when reconnecting to the server



NFSv2, v3 and NFSv4 servers often have duplicate replay caches that look
at the source port when deciding whether or not an RPC call is a replay
of a previous call. This requires clients to perform strange TCP gymnastics
in order to ensure that when they reconnect to the server, they bind
to the same source port.

NFSv4.1 and NFSv4.2 have sessions that provide proper replay semantics,
that do not look at the source port of the connection. This patch therefore
ensures they can ignore the rebind requirement.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 52f98f1a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment