Re: fork rt_ifa_{add,del} for mpls local input routes

2019-02-02 Thread David Gwynne
On Fri, Feb 01, 2019 at 02:40:17PM -0200, Martin Pieuchot wrote: > On 31/01/19(Thu) 13:31, David Gwynne wrote: > > On Wed, Jan 30, 2019 at 11:54:45AM -0200, Martin Pieuchot wrote: > > > On 30/01/19(Wed) 11:48, David Gwynne wrote: > > > > mpls uses AF_MPLS routes with RTF_LOCAL set on them to know

Re: fork rt_ifa_{add,del} for mpls local input routes

2019-02-01 Thread Martin Pieuchot
On 31/01/19(Thu) 13:31, David Gwynne wrote: > On Wed, Jan 30, 2019 at 11:54:45AM -0200, Martin Pieuchot wrote: > > On 30/01/19(Wed) 11:48, David Gwynne wrote: > > > mpls uses AF_MPLS routes with RTF_LOCAL set on them to know which tags > > > are used as input for the mpe and mpw interfaces.

Re: fork rt_ifa_{add,del} for mpls local input routes

2019-01-31 Thread Claudio Jeker
On Wed, Jan 30, 2019 at 11:48:10AM +1000, David Gwynne wrote: > mpls uses AF_MPLS routes with RTF_LOCAL set on them to know which tags > are used as input for the mpe and mpw interfaces. setting this up > currently goes through rt_ifa_add, but that has a couple of features > that are undesirable

Re: fork rt_ifa_{add,del} for mpls local input routes

2019-01-30 Thread David Gwynne
On Wed, Jan 30, 2019 at 11:54:45AM -0200, Martin Pieuchot wrote: > On 30/01/19(Wed) 11:48, David Gwynne wrote: > > mpls uses AF_MPLS routes with RTF_LOCAL set on them to know which tags > > are used as input for the mpe and mpw interfaces. setting this up > > currently goes through rt_ifa_add, but

Re: fork rt_ifa_{add,del} for mpls local input routes

2019-01-30 Thread Martin Pieuchot
On 30/01/19(Wed) 11:48, David Gwynne wrote: > mpls uses AF_MPLS routes with RTF_LOCAL set on them to know which tags > are used as input for the mpe and mpw interfaces. setting this up > currently goes through rt_ifa_add, but that has a couple of features > that are undesirable for mpls. > >

Re: fork rt_ifa_{add,del} for mpls local input routes

2019-01-29 Thread David Gwynne
I mean rdomain 0 below, not 1. > On 30 Jan 2019, at 11:48, David Gwynne wrote: > > mpls uses AF_MPLS routes with RTF_LOCAL set on them to know which tags > are used as input for the mpe and mpw interfaces. setting this up > currently goes through rt_ifa_add, but that has a couple of features >

fork rt_ifa_{add,del} for mpls local input routes

2019-01-29 Thread David Gwynne
mpls uses AF_MPLS routes with RTF_LOCAL set on them to know which tags are used as input for the mpe and mpw interfaces. setting this up currently goes through rt_ifa_add, but that has a couple of features that are undesirable for mpls. Firstly, rt_ifa_add unconditionally sets RTF_MPATH on the