svn commit: r205637 - head/sys/netinet6
Bjoern A. Zeeb
bz at FreeBSD.org
Thu Mar 25 10:29:00 UTC 2010
Author: bz
Date: Thu Mar 25 10:29:00 2010
New Revision: 205637
URL: http://svn.freebsd.org/changeset/base/205637
Log:
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
Modified:
head/sys/netinet6/nd6.c
Modified: head/sys/netinet6/nd6.c
==============================================================================
--- head/sys/netinet6/nd6.c Thu Mar 25 10:13:21 2010 (r205636)
+++ head/sys/netinet6/nd6.c Thu Mar 25 10:29:00 2010 (r205637)
@@ -1168,7 +1168,7 @@ nd6_nud_hint(struct rtentry *rt, struct
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:
More information about the svn-src-all
mailing list