Date: Wed, 25 Jul 2018 20:49:57 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 181741] [kernel] [patch] Packet loss when 'control' messages are present with large data (sendmsg(2)) Message-ID: <bug-181741-7501-Qjm1Fo2ghE@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 #18 from Mark Johnston <markj@FreeBSD.org> --- (In reply to Mark Johnston from comment #17) > since sosend_generic() already puts a hard bound on the size of control m= essages, I don't see why it needs to go through the trouble of performing a= n exact check. To be clear, I'm saying that given a control message of size S, the amount = of occupied buffer space is some linear function of S plus a constant (the siz= e of a sockcred, if LOCAL_CREDS is configured). Given that we have a bound on S imposed by sosend_generic(), I don't think it's important to compute the ex= act amount of buffer space required for the internalized form of the messages. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-181741-7501-Qjm1Fo2ghE>