]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] SUNRPC: Give cloned RPC clients their own rpc_pipefs directory
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 25 Jan 2007 04:13:46 +0000 (20:13 -0800)
committerChris Wright <chrisw@sous-sol.org>
Mon, 5 Feb 2007 16:31:45 +0000 (08:31 -0800)
commit16a2980e7a2d9afe5b6c68c783d025036edcf70e
treecb1729babf08ff18c5e7e952ac5447612550c729
parent81a86f15d6f696efcb531620c936d1e7edb96f17
[PATCH] SUNRPC: Give cloned RPC clients their own rpc_pipefs directory

This patch fixes a regression in 2.6.19 in which the use of multiple
krb5 mounts against the same NFS server may result in an Oops on
unmount. The Oops is due to the fact that multiple NFS krb5 clients may
end up inadvertently sharing the same rpc_pipefs upcall pipe. The first
client to 'umount' will unlink that shared pipe, causing an Oops.

The solution is to give each client their own upcall pipe. This fix has
been in mainline since 2.6.20-rc1.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
[chrisw: backport to 2.6.19.2]
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
include/linux/sunrpc/clnt.h
net/sunrpc/clnt.c