Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when the mount namespace is unshared

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Chuck Lever <chuck.lever@...>
Cc: Serge E. Hallyn <serue@...>, Cedric Le Goater <clg@...>, Andrew Morton <akpm@...>, Trond Myklebust <trond.myklebust@...>, Linux Kernel Mailing List <linux-kernel@...>, Linux Containers <containers@...>, <linux-nfs@...>
Date: Tuesday, September 9, 2008 - 2:20 pm

Chuck Lever <chuck.lever@oracle.com> writes:


Actually looking at the code.  It looks like a proper fix may be  even simpler.
Why do we have both clnt->cl_server and clnt->cl_nodename?    Or is cl_server
the other side of the connection?


Thanks that helps a lot.


Semantically processes in different uts namespaces are on different machines.


Which is interesting when the problem happens during NFS unmount.  Although
frankly it could fail anyway.

It seems strange that we are creating a client during unmount anyway.

Eric
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when the m..., Eric W. Biederman, (Tue Sep 9, 11:09 am)
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when the m..., Eric W. Biederman, (Tue Sep 9, 2:20 pm)
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when the m..., Eric W. Biederman, (Wed Sep 10, 4:02 pm)
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when the m..., Eric W. Biederman, (Thu Sep 11, 6:27 am)
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when the m..., Eric W. Biederman, (Mon Sep 8, 12:09 pm)