From: Trond Myklebust Date: Mon, 5 Aug 2013 20:04:47 +0000 (-0400) Subject: SUNRPC: If the rpcbind channel is disconnected, fail the call to unregister X-Git-Tag: v3.11-rc5~6^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=786615bc1ce84150ded80daea6bd9f6297f48e73;p=pandora-kernel.git 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 Cc: Nix Cc: Jeff Layton Cc: stable@vger.kernel.org # 3.9.x --- Reading git-diff-tree failed