Re: nd6 RTM_ADD logic

2023-05-08 Thread Claudio Jeker
On Thu, May 04, 2023 at 08:43:19AM +0200, Alexander Bluhm wrote: > Hi, > > To make ND6 mp-safe, I have to guarantee the life time of ln = > rt->rt_llinfo. This call to nd6_llinfo_settimer(ln) looks strange. > > The complicated logic can be replaced with what we have in ARP. > Digging through the

Re: nd6 RTM_ADD logic

2023-05-07 Thread Klemens Nanni
On Thu, May 04, 2023 at 08:43:19AM +0200, Alexander Bluhm wrote: > To make ND6 mp-safe, I have to guarantee the life time of ln = > rt->rt_llinfo. This call to nd6_llinfo_settimer(ln) looks strange. It reads like two distinct cases folded into one overly clever block. > The complicated logic can