8279 socketpair(AF_UNIX, SOCK_DGRAM,...) broken after 7590

Review Request #530 — Created May 27, 2017 and submitted — Latest diff uploaded

gwr
illumos-gate
8279
general

My prior work on 7590 missed something in the code path used by connected datagram sockets created via socketpair(),
where the sotpi_info_t object has the sti_faddr_noxlate flag set, and neglected to fill in sti->sti_ux_faddr.
(That's the "transport-level" form of the "foreign" address.)

The fix is quite simple, and affects only this case.

Ran the test program provided by Pavel Zakharov pavel.zakharov@delphix.com
Re-ran the sockfs tests.

Loading...