Re: There's no need for the link-layer address in the RB-tree...

2014-05-05 Thread Martin Pieuchot
On 25/04/14(Fri) 15:59, Martin Pieuchot wrote: > On 25/04/14(Fri) 15:46, Martin Pieuchot wrote: > > [...] > > Regarding the tree, when Henning added ifa_add/del prior to its addition, > > he also used it for link-layer addresses. But ifa_ifwithaddr() was not > > dealing with link-layer addresses a

Re: There's no need for the link-layer address in the RB-tree...

2014-04-25 Thread Martin Pieuchot
On 25/04/14(Fri) 15:46, Martin Pieuchot wrote: > [...] > Regarding the tree, when Henning added ifa_add/del prior to its addition, > he also used it for link-layer addresses. But ifa_ifwithaddr() was not > dealing with link-layer addresses at that time! So when ifa_add/del > got modified to add e

There's no need for the link-layer address in the RB-tree...

2014-04-25 Thread Martin Pieuchot
...actually we don't even need it for the per-ifp address list! This is a result of my recent RTAX_IFP/sadl cleanup. Historically the link-layer ifa has been the first element of the per-ifp address list. This requirement is no longer necessary since r1.154 of net/route.c, we now use the if_sad