HomeFreeBSD

rpcbind: get contact addr from xprt members

Description

rpcbind: get contact addr from xprt members

Addition to D31491 in order to actually resolve the top root cause.

Currently rpcbind gets contact address from connectionless xprt->xp_p2
member of a transport and will fail to get it when working over
connection oriented transport, leading to a guess game in terms of
contact address on rpcinfo requests like RPCBPROC_GETVERSADDR or
RPCBPROC_GETADDRLIST and poor returns which may influence a user
of a call and specifically reported on OSX clients, which tend to
not provide address hint from rpcinfo request to a server.

MFC after: 1 week
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D35220

Details

Provenance
Dmitry.Ovsyannikov_dell.comAuthored on Jun 13 2022, 1:34 PM
vangyzenCommitted on Jun 13 2022, 1:54 PM
Differential Revision
Restricted Differential Revision
Parents
rG5ea3094e6a75: amd64: -m32 support for machine/md_var.h
Branches
Unknown
Tags
Unknown