Date: Sat, 04 Aug 2018 20:30:27 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 181741] Packet loss when 'control' messages are present with large data (sendmsg(2)) Message-ID: <bug-181741-7501-Sq1boI2zFj@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-181741-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-181741-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D181741 --- Comment #22 from commit-hook@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 --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-181741-7501-Sq1boI2zFj>