• Chuck Lever's avatar
    SUNRPC: Fix generation of universal addresses for · 143b6c40
    Chuck Lever authored
    Fix some problems with rpcbind v3 and v4 queries from the in-kernel rpcbind
    client:
    
    1.  The r_addr argument must be a full universal address, not just an IP
    address, and
    
    2.  The universal address in r_addr is the address of the remote rpcbind
    server, not the RPC service being requested
    
    This addresses bugzilla.kernel.org report 8891 for 2.6.23-rc and greater.
    
    In addition, if the rpcbind client is unable to start the rpcbind request,
    make sure not to leak the xprt.
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    143b6c40
rpcb_clnt.c 17.3 KB