Date: Fri, 12 Feb 2021 15:43:25 -0500 From: Ryan Stone <rysto32@gmail.com> To: "Alexander V. Chernikov" <melifaro@freebsd.org> Cc: freebsd-net <freebsd-net@freebsd.org> Subject: Re: ifaddr reference count leaks that seem to be related to routing code Message-ID: <CAFMmRNw7i=aD2JXetnaPSBzirSxwvAq6ZzbwQ1_=qKyZMc50%2BA@mail.gmail.com> In-Reply-To: <113921613153727@vla1-bff2c05bedc2.qloud-c.yandex.net> References: <CAFMmRNyi3bXmJd%2BHrMAOSuB2cm%2B5ZtC5jaj3jLiHs0RVMBegZA@mail.gmail.com> <113921613153727@vla1-bff2c05bedc2.qloud-c.yandex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks! For reference, I tried this patch and it did resolve my leak: https://github.com/rysto32/freebsd/commit/73caa71c351c072d673d477972fda2aeb369eb3d I haven't exhaustively tested the routing code, though, so I can't say for certain that the assert will always be true, nor am I certain that no callers were depending on ifa_ref by rt_getifa_fib().
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNw7i=aD2JXetnaPSBzirSxwvAq6ZzbwQ1_=qKyZMc50%2BA>