On Mon, 19 Jan 2015 11:49:53 +0100, Martin Pieuchot wrote: > Instead of rerolling rtrequest1(RTM_DELETE...) code in various places, > simply use rtdeletemsg() which also notify userland that the route entry > is going away.
Since rtdeletemsg() may call rtfree() doesn't this mean that we can end up calling rtfree() twice? Or is rt->rt_refcnt never going to be zero in this case? - todd