diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-07-14 22:03:27 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-07-16 00:08:44 +0200 |
commit | cc5598b78fd320dd6d1f90c14491e08029f3c4f6 (patch) | |
tree | de62ba86decdc7bdb69ed717e3c42b4a7d6b774b /init | |
parent | SUNRPC: Use correct XDR encoding procedure for rpcbind SET/UNSET (diff) | |
download | linux-cc5598b78fd320dd6d1f90c14491e08029f3c4f6.tar.xz linux-cc5598b78fd320dd6d1f90c14491e08029f3c4f6.zip |
SUNRPC: Introduce a specific rpcb_create for contacting localhost
Add rpcb_create_local() for use by rpcb_register() and upcoming IPv6
registration functions.
Ensure any errors encountered by rpcb_create_local() are properly
reported.
We can also use a statically allocated constant loopback socket address
instead of one allocated on the stack and initialized every time the
function is called.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions