SUNRPC: use proper network namespace in rpcbind RPCBPROC_GETADDR procedure
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Fri, 13 Jan 2012 10:02:40 +0000 (14:02 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2012 00:28:13 +0000 (19:28 -0500)
commitb030fb0bb113316cc6f56779388b8572ab0699da
tree5e6e05faddc8d6637f1c2280c2da5e8d2b2f4a9c
parentf2ac4dc911fdbc9b98a6a48b40efc45aa9161775
SUNRPC: use proper network namespace in rpcbind RPCBPROC_GETADDR procedure

Pass request socket network namespace to rpc_uaddr2sockaddr() instead of
hardcoded "init_net",  when decoding address in RPCBPROC_GETADDR procedure.

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