Re: [PATCH] ifaddr leak when modifying a route

2017-12-12 Thread Ryan Stone
On Thu, Dec 7, 2017 at 4:59 PM, Ryan Stone wrote: > https://reviews.freebsd.org/D13417 I still haven't received any feedback on this review. If nobody raises an objection by Thursday, I will commit it. ___ freebsd-net@freebsd.org mailing list https://l

[PATCH] ifaddr leak when modifying a route

2017-12-07 Thread Ryan Stone
I've put this phab review up that patches an ifaddr refcount leak in the routing code. When a route is modified in a way that modifies rt->rt_ifa, in most cases we don't release the reference on the old one, which can cause it to leak. I have a simple script here that I wrote to demonstrate the i