summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2010-03-25 10:29:00 +0000
committerbz <bz@FreeBSD.org>2010-03-25 10:29:00 +0000
commit95992079a2ba5bae4a88077e1e907121f5a428a7 (patch)
treeb87a5a21088f9259f38bad8bfd42516177fa98f3 /sys/netinet6
parent411453536a9fa06165220d30d3a979847ce7b9aa (diff)
downloadFreeBSD-src-95992079a2ba5bae4a88077e1e907121f5a428a7.zip
FreeBSD-src-95992079a2ba5bae4a88077e1e907121f5a428a7.tar.gz
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
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/nd6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c
index a32539b..5c250f4 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:
OpenPOWER on IntegriCloud