Skip to content
  • Trond Myklebust's avatar
    NFSv4.1: Don't rebind to the same source port when reconnecting to the server · e6237b6f
    Trond Myklebust authored
    
    
    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>
    e6237b6f