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
This commit is contained in:
Bjoern A. Zeeb 2010-03-25 10:29:00 +00:00
parent cecdd23f87
commit d715e397f0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205637

View File

@ -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: