From 95992079a2ba5bae4a88077e1e907121f5a428a7 Mon Sep 17 00:00:00 2001 From: bz Date: Thu, 25 Mar 2010 10:29:00 +0000 Subject: [PATCH] We are holding a write lock here so avoid aquiring it twice calling the "locked" version rather than the wrapper function. MFC after: 6 days --- sys/netinet6/nd6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index a32539b8972b..5c250f4417b6 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -1168,7 +1168,7 @@ nd6_nud_hint(struct rtentry *rt, struct in6_addr *dst6, int force) ln->ln_state = ND6_LLINFO_REACHABLE; if (!ND6_LLINFO_PERMANENT(ln)) { - nd6_llinfo_settimer(ln, + nd6_llinfo_settimer_locked(ln, (long)ND_IFINFO(rt->rt_ifp)->reachable * hz); } done: