Re: ifaddr reference count leaks that seem to be related to routing code

2021-02-12 Thread Alexander V . Chernikov
___ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: ifaddr reference count leaks that seem to be related to routing code

2021-02-12 Thread Ryan Stone
On Fri, Feb 12, 2021 at 4:14 PM Alexander V. Chernikov wrote: > The slightly different approach here: https://reviews.freebsd.org/D28629 > We indeed are running under epoch, so that prevents _immediate_ ifa > destruction. > However, we still can run into the situation when > * in thread 1 we drop

Re: ifaddr reference count leaks that seem to be related to routing code

2021-02-12 Thread Alexander V . Chernikov
___ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: ifaddr reference count leaks that seem to be related to routing code

2021-02-12 Thread Ryan Stone
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 n

Re: ifaddr reference count leaks that seem to be related to routing code

2021-02-12 Thread Alexander V . Chernikov
___ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"