SUNRPC: Use rpc_ntop() for constructing transport address strings
authorChuck Lever <chuck.lever@oracle.com>
Sun, 9 Aug 2009 19:09:36 +0000 (15:09 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 9 Aug 2009 19:09:36 +0000 (15:09 -0400)
commitc877b849d302d1275452af80b7221a2555dc02e1
tree7baf4099cbb235e9ee4d420f61208d10ecdc8c4d
parentba809130bc260fce04141aca01ef9e068d32af2a
SUNRPC: Use rpc_ntop() for constructing transport address strings

Clean up:  In addition to using the new generic rpc_ntop() and
rpc_get_port() functions, have the RPC client compute the presentation
address buffer sizes dynamically using kstrdup().

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtsock.c