From owner-freebsd-net Wed Jan 8 14:26:26 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 949F637B401 for ; Wed, 8 Jan 2003 14:26:25 -0800 (PST) Received: from mel-rto4.wanadoo.fr (smtp-out-4.wanadoo.fr [193.252.19.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8F8943EA9 for ; Wed, 8 Jan 2003 14:26:24 -0800 (PST) (envelope-from vjardin@wanadoo.fr) Received: from mel-rta8.wanadoo.fr (193.252.19.79) by mel-rto4.wanadoo.fr (6.7.015) id 3E0C33FD006905BB; Wed, 8 Jan 2003 23:26:18 +0100 Received: from there (217.128.206.18) by mel-rta8.wanadoo.fr (6.7.015) id 3E075B32006E7C25; Wed, 8 Jan 2003 23:26:18 +0100 Message-ID: <3E075B32006E7C25@mel-rta8.wanadoo.fr> (added by postmaster@wanadoo.fr) Content-Type: text/plain; charset="iso-8859-1" From: Vincent Jardin To: Garrett Wollman Subject: Re: rt_refcnt and rtentry protection ?? Date: Wed, 8 Jan 2003 23:45:32 +0100 X-Mailer: KMail [version 1.3.2] Cc: net@FreeBSD.ORG References: <0H8E00ASUXB1HW@mta5.snfc21.pbi.net> <3E075B1B006D4334@mel-rta7.wanadoo.fr> <200301082206.h08M6eHm008984@khavrinen.lcs.mit.edu> In-Reply-To: <200301082206.h08M6eHm008984@khavrinen.lcs.mit.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > So long as the route is marked RTF_UP, it cannot be deleted. In a > single-threaded kernel, it is not possible for this code to be > preempted, so there is no means by which the route flags could be > changed. (RTF_UP is unset when and only when the route is deleted > from the radix tree.) I agree. However, how would it work on a multi-threaded FreeBSD 5 kernel ? Regards, Vincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message