> Date: Wed, 27 Dec 2017 10:24:26 +0900 > From: Ryota Ozaki <ozak...@netbsd.org> > > On Wed, Dec 27, 2017 at 12:50 AM, Taylor R Campbell > <campbell+netbsd-source-change...@mumble.net> wrote: > > Can you just pass the interlock -- softnet_lock or NULL, depending on > > NET_MPSAFE -- as an argument to nd6_dad_stoptimer? It looks like it > > will trickle up into the call stack a little bit, but not all that > > far, unless .dom_if_link_state_change and .dom_if_down ever hold > > softnet lock. > > If so simple, I was happy... I guess you miss SOFTNET_* macros.
Can you add this to the collection? #ifdef NET_MPSAFE #define SOFTNET_INTERLOCK_IF_NET_MPSAFE (&softnet_lock) #else #define SOFTNET_INTERLOCK_IF_MPSAFE NULL #endif