Re: Kill in_rtaddr()

2016-04-13 Thread Mike Belopuhov
On Mon, Apr 11, 2016 at 15:17 +0200, Martin Pieuchot wrote: > ``ipforward_rt'' is going away but rather than sending a big diff, > here's the first step. > > This diff replaces in_rtaddr() by rtalloc(9). Note that since the code > here is interested in rt_ifa it has to call rtisvalid(9) to preven

Kill in_rtaddr()

2016-04-11 Thread Martin Pieuchot
``ipforward_rt'' is going away but rather than sending a big diff, here's the first step. This diff replaces in_rtaddr() by rtalloc(9). Note that since the code here is interested in rt_ifa it has to call rtisvalid(9) to prevent a NULL-dereference in case of a stale ``ifa''. For the same reason