Date: Thu, 25 Mar 2010 10:29:00 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r205637 - head/sys/netinet6 Message-ID: <201003251029.o2PAT0AW031465@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003251029.o2PAT0AW031465>