CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2012/04/24 10:35:08

Modified files:
        sys/kern       : uipc_socket.c 

Log message:
In sosend() for AF_UNIX control message sending, correctly calculate
the size (internalized ones can be larger on some architectures) for
fitting into the socket.  Avoid getting confused by sb_hiwat as well.
This fixes a variety of issues where sendmsg() would fail to deliver
a fd set or fail to wait; even leading to file leakage.
Worked on this with claudio for about a week...

Reply via email to