From owner-freebsd-net Fri Jun 2 12:33:33 2000 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 D929C37BF8F for ; Fri, 2 Jun 2000 12:33:28 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id PAA42466; Fri, 2 Jun 2000 15:32:07 -0400 (EDT) (envelope-from wollman) Date: Fri, 2 Jun 2000 15:32:07 -0400 (EDT) From: Garrett Wollman Message-Id: <200006021932.PAA42466@khavrinen.lcs.mit.edu> To: shiva@yagosys.com Cc: Garrett Wollman , freebsd-net@FreeBSD.ORG Subject: Re: [Q] Clarification regarding RTF_PRCLONING and RTF_CLONING. In-Reply-To: <393801D4.84C60B59@yagosys.com> References: <3937F28A.5168FABC@yagosys.com> <200006021822.OAA42179@khavrinen.lcs.mit.edu> <393801D4.84C60B59@yagosys.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > if ((*ret_nrt)->rt_flags & (RTF_CLONING | RTF_PRCLONING)) { rt-> rt_parent = (*ret_nrt); > Do you see any serious problem in this logic? There is code in other places which attempts to distinguish different types of routes on the basis of their rt_parent fields, IIRC. I don't quite remember what the function of all of it was. The whole thing just needs to be rewritten. -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