Page MenuHomeFreeBSD

Populate local address for rendezvous transporter.

Authored by on Nov 19 2015, 3:39 AM.



When accepting a connection on underlying tcp socket rpc vc transporter fails to populate local address.
This change rectifies this problem by modifying rendezvous_request() to fill out the xptr structure member with appropriate information.

Test Plan

Verified existing mountd/rpc.statd are not impacted: cthon tests pass, mountd's procs still serve FHs, export lists, and mount list.
For testing the code, changed mountd to print local address under debug, verified expected result were printed.

Diff Detail

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline retitled this revision from to Populate local address for rendezvous transporter.. updated this object. edited the test plan for this revision. (Show Details)
stas added a reviewer: stas.
stas added a subscriber: stas.

Looks good to me.

This revision is now accepted and ready to land.Nov 25 2015, 8:34 PM
This revision was automatically updated to reflect the committed changes.