diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-08-05 20:04:47 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-08-07 21:07:18 (GMT) |
commit | 786615bc1ce84150ded80daea6bd9f6297f48e73 (patch) | |
tree | b16f44afbdf83df990b762ae3c08b45b88b3e25e /mm/nobootmem.c | |
parent | 00326ed6442c66021cd4b5e19e80f3e2027d5d42 (diff) | |
download | linux-fsl-qoriq-786615bc1ce84150ded80daea6bd9f6297f48e73.tar.xz |
SUNRPC: If the rpcbind channel is disconnected, fail the call to unregister
If rpcbind causes our connection to the AF_LOCAL socket to close after
we've registered a service, then we want to be careful about reconnecting
since the mount namespace may have changed.
By simply refusing to reconnect the AF_LOCAL socket in the case of
unregister, we avoid the need to somehow save the mount namespace. While
this may lead to some services not unregistering properly, it should
be safe.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Nix <nix@esperi.org.uk>
Cc: Jeff Layton <jlayton@redhat.com>
Cc: stable@vger.kernel.org # 3.9.x
Diffstat (limited to 'mm/nobootmem.c')
0 files changed, 0 insertions, 0 deletions