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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Aug 2013 05:59:08 +0000 (22:59 -0700)
commit533a54ffb012864cccd6aad6917741624c666dc1
tree955100fd3b3f3588415041aec9f85120b4c14b62
parent870bfc6b47ecf64845dbf8e5d7a09877998e1b69
SUNRPC: Don't auto-disconnect from the local rpcbind socket

commit 00326ed6442c66021cd4b5e19e80f3e2027d5d42 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sunrpc/rpcb_clnt.c