Subject: Re: Melting down your network [Subject changed]
To: None <tech-kern@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: tech-kern
Date: 03/29/2005 17:01:18
On Mon, 28 Mar 2005, Jonathan Stone wrote:
> In message <h2imh2-uuc.ln1@morgoth.gw.com>Christos Zoulas writes
> > The point is much simpler:
> >How send(2) should behave when the interface queue gets full. 
> 
> No Christos, that point is not open for discussion.  There one and is
> only one acceptable answer: such a scenario is congestion, and under
> such congestion we _must_ drop packets.  If for nothing else, to curb
> congestion by misbehaving apps.

Three options have been suggested:

  a) drop the packet and return 0
  b) drop the packet and return ENOBUFS
  c) delay the packet until it can be sent, then return 0

Jonathan has argued against (c).  But that still leaves a choice
between (a) and (b), so I don't see why Jonathan says that the
point is not up for discussion.

--apb (Alan Barrett)