SUNRPC: Don't auto-disconnect from the local rpcbind socket
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 5 Aug 2013 18:10:43 +0000 (14:10 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 6 Aug 2013 02:17:00 +0000 (22:17 -0400)
commit00326ed6442c66021cd4b5e19e80f3e2027d5d42
tree5dd1e20d341dae00d0992f972bd1de851be51df8
parent9a1b6bf818e74bb7aabaecb59492b739f2f4d742
SUNRPC: Don't auto-disconnect from the local rpcbind socket

There is no need for the kernel to time out the AF_LOCAL connection to
the rpcbind socket, and doing so is problematic because when it is
time to reconnect, our process may no longer be using the same mount
namespace.

Reported-by: Nix <nix@esperi.org.uk>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Jeff Layton <jlayton@redhat.com>
Cc: stable@vger.kernel.org # 3.9.x
net/sunrpc/rpcb_clnt.c