Date: Tue, 5 Jun 2001 16:18:24 -0400 (EDT) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: Ruslan Ermilov <ru@FreeBSD.ORG> Cc: freebsd-net@FreeBSD.ORG Subject: Re: leaking route structures, please review Message-ID: <200106052018.QAA90495@khavrinen.lcs.mit.edu> In-Reply-To: <20010605204121.A49067@sunbay.com> References: <20010605145104.A68594@skriver.dk> <200106051513.LAA87829@khavrinen.lcs.mit.edu> <20010605204121.A49067@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 5 Jun 2001 20:41:21 +0300, Ruslan Ermilov <ru@FreeBSD.ORG> said: > Hmm, and what happens if the PCB is the only holder of this route? > The refcnt will be 1 in this case, and the code drops the reference > by setting inp->inp_route.ro_rt = 0. How this route can be reused > (and deleted) later? That would be a bug. rtfree() must always be called before forgetting a reference. -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?200106052018.QAA90495>