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:
bz 2010-03-25 10:29:00 +00:00
parent 411453536a
commit 95992079a2

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: