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

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

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.

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
igork
  1. Ship It!
  2. 
      
gwr
yuripv
  1. 
      
  2. Remove the trailing whitespaces.

    1. OI recent updated emacs to 25.2.1, which has some new "fancy" C indent logic, which I'm finding more annoying than helpful...
      (and you can see one of it's effects here). Yeah, I'll fix that.

  3. 
      
igork
  1. Ship It!
  2. 
      
gwr
gwr
gwr
gwr
Review request changed

Status: Closed (submitted)

Loading...