Date: Wed, 8 Jan 2003 17:06:40 -0500 (EST) From: Garrett Wollman <wollman@lcs.mit.edu> To: Vincent Jardin <vjardin@wanadoo.fr> Cc: net@FreeBSD.ORG Subject: Re: rt_refcnt and rtentry protection ?? Message-ID: <200301082206.h08M6eHm008984@khavrinen.lcs.mit.edu> In-Reply-To: <3E075B1B006D4334@mel-rta7.wanadoo.fr> (added by postmaster@wanadoo.fr) References: <0H8E00ASUXB1HW@mta5.snfc21.pbi.net> <3E075B1B006D4334@mel-rta7.wanadoo.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 8 Jan 2003 23:22:22 +0100, Vincent Jardin <vjardin@wanadoo.fr> said: > Why is rt_refnt decreased so early and not later ? 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.) -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301082206.h08M6eHm008984>