diff options
author | bz <bz@FreeBSD.org> | 2010-04-02 17:52:50 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2010-04-02 17:52:50 +0000 |
commit | 852af020e59d3a9b2996b183fbf9c68fcc827786 (patch) | |
tree | dad35702e130894c37059168dc1978ce705023d9 /sys/netinet6/nd6.c | |
parent | ac6d5f65a5a07b7bc02d10485f21fe86a923b97d (diff) | |
download | FreeBSD-src-852af020e59d3a9b2996b183fbf9c68fcc827786.zip FreeBSD-src-852af020e59d3a9b2996b183fbf9c68fcc827786.tar.gz |
MFC r205637:
We are holding a write lock here so avoid aquiring it twice calling
the "locked" version rather than the wrapper function.
Diffstat (limited to 'sys/netinet6/nd6.c')
-rw-r--r-- | sys/netinet6/nd6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index 4c941da..488a60a 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -1167,7 +1167,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: |