Subject: Re: fixing send(2) semantics (kern/29750)
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: tech-kern
Date: 03/27/2005 18:20:05
>     If no messages[sic] space is available at the socket to hold the
>     message to be transmitted, then send() normally blocks, unless the
>     socket has been placed in non-blocking I/O mode.
>
> Note "at the socket".  The lack of space in the case at hand is well
> below the socket layer.

But I hope you'll agree that returning ENOBUFS because interface queue
is full is wrong: it's the error you get when the socket buffer is full.

-- 
Emmanuel Dreyfus
Le cahier de l'admin BSD 2eme ed. est dans toutes les bonnes librairies
http://www.eyrolles.com/Informatique/Livre/9782212114638/livre-bsd.php
manu@netbsd.org