svn commit: r205637 - head/sys/netinet6
Rui Paulo
rpaulo at freebsd.org
Thu Mar 25 17:06:39 UTC 2010
On 25 Mar 2010, at 10:29, Bjoern A. Zeeb wrote:
> 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
This code is probably missing a:
LLE_WLOCK_ASSERT(lle);
at the beginning.
>
> 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:
--
Rui Paulo
More information about the svn-src-head
mailing list