MFC r205637:
We are holding a write lock here so avoid aquiring it twice calling the "locked" version rather than the wrapper function.
This commit is contained in:
parent
ac28297bce
commit
22177b7279
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=206110
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user