Package: manpages-dev
Version: 1.39-1.1

The man page for send(2) contains the following incorrect statement
in the Errors section:

ENOBUFS
       The  output queue for a network interface was full.
       This generally indicates  that  the  interface  has
       stopped  sending,  but  may  be caused by transient
       congestion.  (This cannot occur in  Linux,  packets
       are just silently dropped when a device queue over­
       flows.)

The erroneous bit is "This cannot occur in  Linux", because
it certainly can, and I've had sendto() fail with this error in my
own program when the ARP cache filled up.

An example of code in the Kernel which can return this error
is In net/core/neighbour.c:

        n = neigh_alloc(tbl);
        if (n == NULL)
                return ERR_PTR(-ENOBUFS);

I'm using Debian 3.0r5 ("Woody") with Kernel 2.4.29 on i386


--
Roy Hills Tel: +44 1634 721855
NTA Monitor Ltd FAX: +44 1634 721844
14 Ashford House, Beaufort Court,
Medway City Estate, Email: [EMAIL PROTECTED]
Rochester, Kent ME2 4FA, UK WWW: http://www.nta-monitor.com/





Reply via email to