Date: Sat, 3 Jan 2015 14:09:35 +0000 (UTC) From: "Alexander V. Chernikov" <melifaro@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r276620 - projects/routing/sys/netinet6 Message-ID: <201501031409.t03E9ZGb066240@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: melifaro Date: Sat Jan 3 14:09:35 2015 New Revision: 276620 URL: https://svnweb.freebsd.org/changeset/base/276620 Log: Finish r275628 #2: remove remaining 'base' references. Modified: projects/routing/sys/netinet6/in6.c Modified: projects/routing/sys/netinet6/in6.c ============================================================================== --- projects/routing/sys/netinet6/in6.c Sat Jan 3 13:41:53 2015 (r276619) +++ projects/routing/sys/netinet6/in6.c Sat Jan 3 14:09:35 2015 (r276620) @@ -2067,14 +2067,14 @@ in6_lltable_new(const struct in6_addr *a if (lle == NULL) /* NB: caller generates msg */ return NULL; - lle->base.r_l3addr.addr6 = *addr6; - lle->base.lle_refcnt = 1; - lle->base.lle_free = in6_lltable_free; - LLE_LOCK_INIT(&lle->base); - callout_init_rw(&lle->base.ln_timer_ch, &lle->base.lle_lock, + lle->r_l3addr.addr6 = *addr6; + lle->lle_refcnt = 1; + lle->lle_free = in6_lltable_free; + LLE_LOCK_INIT(lle); + callout_init_rw(&lle->ln_timer_ch, &lle->lle_lock, CALLOUT_RETURNUNLOCKED); - return (&lle->base); + return (lle); } static int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501031409.t03E9ZGb066240>