DragonFlyBSD/src 5092d1d — sys/kern uipc_usrreq.c
kernel - Fix improper use of CMSG_ALIGN() in unp_internalize() * The data portion of a control message must be aligned, but the data length does not have to be (and in fact, should not be since it might represent an array of smaller elements and we do not want to calculate the wrong number of elements). * Fixes chrome, xpdf, etc (sendmsg() calls were failing). * Problem revealed after the CMSG alignment was upped from 4 to 8 bytes.
Delta | File | |
---|---|---|
+18 | -2 | sys/kern/uipc_usrreq.c |
+18 | -2 | 1 files |