Re: Interface indexes & route entries

2015-10-23 Thread Alexander Bluhm
On Fri, Oct 23, 2015 at 05:45:31PM +0200, Martin Pieuchot wrote: > This diff adds a small define to be able to convert code dereferencing > "rt_ifp" to if_get()+if_put(). This will allows us to guarantee that > ``ifp'' got from route entries are used with a proper reference count. > > If the dir

Interface indexes & route entries

2015-10-23 Thread Martin Pieuchot
This diff adds a small define to be able to convert code dereferencing "rt_ifp" to if_get()+if_put(). This will allows us to guarantee that ``ifp'' got from route entries are used with a proper reference count. If the direction is ok I'll commit the .h. I also accept reviews on the chunks below