Re: Automagically created routes and ifa

2016-11-28 Thread Alexander Bluhm
On Mon, Nov 28, 2016 at 11:38:36AM +0100, Martin Pieuchot wrote: > In the kernel we should always know to witch ``ifa'' a route will be > attached. Since I'd like to only call rt_getifa() for routes inserted > from userland, here's a diff that set rti_ifa before RTM_ADD. > > ok? OK bluhm@ > >

Automagically created routes and ifa

2016-11-28 Thread Martin Pieuchot
In the kernel we should always know to witch ``ifa'' a route will be attached. Since I'd like to only call rt_getifa() for routes inserted from userland, here's a diff that set rti_ifa before RTM_ADD. ok? Index: netinet/ip_icmp.c ==