[Bug 181741] Packet loss when 'control' messages are present with large data (sendmsg(2))
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Aug 4 20:30:29 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181741
--- Comment #22 from commit-hook at freebsd.org ---
A commit references this bug:
Author: markj
Date: Sat Aug 4 20:29:58 UTC 2018
New revision: 337329
URL: https://svnweb.freebsd.org/changeset/base/337329
Log:
Fix the regression test for PR 181741.
With r337328, the test hangs becase the sendmsg() call will block until
the receive buffer is at least partially drained. Fix the problem by
using a non-blocking socket and allowing short writes. Also assert
that a SCM_CREDS message was received if one was expected.
PR: 181741
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D16516
Changes:
head/tests/sys/kern/unix_passfd_test.c
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-net
mailing list