[Bug 206544] sendit "KPI" (in reality sendmsg(2); maybe sendto(2)) will fail with EINVAL if mp->msg_control != NULL and mp->msg_controllen is < sizeof(struct cmsghdr); is not documented in send(2)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 23 22:49:28 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206544

--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:

Author: ngie
Date: Sat Jan 23 22:49:14 UTC 2016
New revision: 294646
URL: https://svnweb.freebsd.org/changeset/base/294646

Log:
  Don't run the t_cmsg_len testcase on 64-bit architectures

  It always fails when trying to send through the sendit(9) private KPI in the
  kernel due to a size mismatch between the msghdr and data being sent [*],
which
  suspiciously seems like it's related to sizeof pointers instead of scalars,
or
  something of that ilk

  MFC after: 1 week
  PR: 206543, 206544 [*]
  Sponsored by: EMC / Isilon Storage Division

Changes:
_U  head/
  head/tools/regression/sockets/unix_cmsg/unix_cmsg.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list