netdev
[Top] [All Lists]

Re: udp weirdness

To: jamal <hadi@xxxxxxxxxx>
Subject: Re: udp weirdness
From: Matti Aarnio <matti.aarnio@xxxxxxxxxxx>
Date: Fri, 27 Sep 2002 18:04:12 +0300
Cc: Eric Lemoine <Eric.Lemoine@xxxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <Pine.GSO.4.30.0209271048160.4401-100000@xxxxxxxxxxxxxxxx>
References: <20020927120223.GH343@hookipa> <Pine.GSO.4.30.0209271048160.4401-100000@xxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Fri, Sep 27, 2002 at 10:53:00AM -0400, jamal wrote:
> On Fri, 27 Sep 2002, Eric Lemoine wrote:
> 
> > I figured out that packets can be dropped in pfifo_fast_enqueue()
> > [the default qdisc's enqueue func], even though the driver/kernel
> > flow control has triggered.
...
> What trigger do you suggest to wake up the process again?
> A better idea maybe to return something to the socket so it can
> manage things instead -- not sure what to return though that wouldnt
> break some standard;


"man sendto" error return codes:

       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.)

> cheers,
> jamal

/Matti Aarnio


<Prev in Thread] Current Thread [Next in Thread>