Page MenuHomeFreeBSD

Populate local address for rendezvous transporter.
ClosedPublic

Authored by alex.burlyga.ietf_gmail.com on Nov 19 2015, 3:39 AM.

Details

Summary

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

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alex.burlyga.ietf_gmail.com retitled this revision from to Populate local address for rendezvous transporter..
alex.burlyga.ietf_gmail.com updated this object.
alex.burlyga.ietf_gmail.com edited the test plan for this revision. (Show Details)
alex.burlyga.ietf_gmail.com edited the test plan for this revision. (Show Details)
alex.burlyga.ietf_gmail.com edited edge metadata.
stas accepted this revision.Nov 25 2015, 8:34 PM
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.