]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: RPC client must use the current utsname hostname string
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 30 Apr 2012 15:52:40 +0000 (11:52 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 30 Apr 2012 15:58:51 +0000 (11:58 -0400)
commitc497b2e962f8fe3eb707e6b516f19e84e29cdcc2
treefaa27244aed8ab803846f85944775b0976a1975d
parent6aac15a315f6333898832d9aa3c59d6d342ca97a
SUNRPC: RPC client must use the current utsname hostname string

Now that the rpc client is namespace aware, it needs to use the
utsname of the process that created it instead of using the
init_utsname. Both rpc_new_client and rpc_clone_client need to
be fixed.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Stanislav Kinsbursky <skinsbursky@parallels.com>
net/sunrpc/clnt.c