From owner-freebsd-net Mon Mar 25 14: 3:41 2002 Delivered-To: freebsd-net@freebsd.org Received: from mave.nlanr.net (mave.nlanr.net [198.202.74.38]) by hub.freebsd.org (Postfix) with ESMTP id C926137B416 for <freebsd-net@freebsd.org>; Mon, 25 Mar 2002 14:03:36 -0800 (PST) Received: from localhost (mjl@localhost) by mave.nlanr.net (8.11.1/8.11.1) with ESMTP id g2PM3ZG89096; Mon, 25 Mar 2002 14:03:35 -0800 (PST) (envelope-from mjl@nlanr.net) X-Authentication-Warning: mave.nlanr.net: mjl owned process doing -bs Date: Mon, 25 Mar 2002 14:03:35 -0800 (PST) From: Matthew Luckie <mjl@nlanr.net> To: Lars Eggert <larse@ISI.EDU> Cc: freebsd-net@freebsd.org Subject: Re: ip_output and ENOBUFS In-Reply-To: <3C9F9989.4070201@isi.edu> Message-ID: <Pine.BSF.4.21.0203251356350.88720-100000@mave.nlanr.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: <freebsd-net.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-net> List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-net> X-Loop: FreeBSD.org > > Is there a mechanism to tell when ip_output should be called again? > > Ideally, I would block until such time as i could send it via ip_output > > You probably get that because the outbound interface queue gets full, so > you want to block your caller until space becomes available there. There > currently is no such mechanism (AFAIK, and talking about -STABLE here), > but it's not too much work to add. i've worked at a layer above ip_output, but i havent looked to deeply at this issue and the code in the kernel. if you could suggest a few modifications that would be required, i'd like to pursue this further. Thanks for your response. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message