From owner-freebsd-net Wed Jan 24 10:59:35 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 58B4837B402 for ; Wed, 24 Jan 2001 10:59:17 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id NAA62672; Wed, 24 Jan 2001 13:59:04 -0500 (EST) (envelope-from wollman) Date: Wed, 24 Jan 2001 13:59:04 -0500 (EST) From: Garrett Wollman Message-Id: <200101241859.NAA62672@khavrinen.lcs.mit.edu> To: Luigi Rizzo Cc: net@freebsd.org Subject: dubious code in ip_output() ? In-Reply-To: <200101241808.f0OI8cb09586@iguana.aciri.org> References: <200101241808.f0OI8cb09586@iguana.aciri.org> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > To me this seems incorrect because the firewall can drop the packet, > divert it to a socket, maybe (not sure) change the output interface, > pass it to a dummynet pipe, etc. It's completely bogus (I had that argument with it at the time). There is no predicting whether the interface queue will actually accept a packet until you try to enqueue it. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message