svn commit: r276620 - projects/routing/sys/netinet6

Alexander V. Chernikov melifaro at FreeBSD.org
Sat Jan 3 14:09:36 UTC 2015


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


More information about the svn-src-projects mailing list