On Fri, Apr 21, 2017 at 08:43:11AM +0000, Markert, Alexander wrote:
> In our opinion either EMSGSIZE should be returned instead in this case (like 
> e.g. FreeBSD 11.0 does) or OpenBSD should reserve some space (comparable to 
> MSG_OOB) in addition to the maximum size of the socket's send buffer for the 
> control messages in order to avoid such problems.
> 
> What do you think about that behavior and the described alternatives?

I think EMSGSIZE if send space is too small, would be the way to
go.  On the reveive path also some bytes of space must be reseverd
by the user program, if control messages are used.  This behavior
should be symmetric for the send path.

bluhm

Reply via email to