Date: Sat, 3 Jan 2015 13:41:54 +0000 (UTC) From: "Alexander V. Chernikov" <melifaro@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r276619 - projects/routing/sys/netinet Message-ID: <201501031341.t03DfsC1055932@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: melifaro Date: Sat Jan 3 13:41:53 2015 New Revision: 276619 URL: https://svnweb.freebsd.org/changeset/base/276619 Log: Finish r275628: remove remaining 'base' references. Modified: projects/routing/sys/netinet/in.c Modified: projects/routing/sys/netinet/in.c ============================================================================== --- projects/routing/sys/netinet/in.c Sat Jan 3 13:36:56 2015 (r276618) +++ projects/routing/sys/netinet/in.c Sat Jan 3 13:41:53 2015 (r276619) @@ -1012,20 +1012,19 @@ in_lltable_new(struct in_addr addr4, u_i if (lle == NULL) /* NB: caller generates msg */ return NULL; - lle->base.r_l3addr.addr4 = addr4; + lle->r_l3addr.addr4 = addr4; /* * For IPv4 this will trigger "arpresolve" to generate * an ARP request. */ - lle->base.la_expire = time_uptime; /* mark expired */ - lle->base.lle_refcnt = 1; - lle->base.lle_free = in_lltable_free; - LLE_LOCK_INIT(&lle->base); - callout_init_rw(&lle->base.la_timer, &lle->base.lle_lock, - CALLOUT_RETURNUNLOCKED); + lle->la_expire = time_uptime; /* mark expired */ + lle->lle_refcnt = 1; + lle->lle_free = in_lltable_free; + LLE_LOCK_INIT(lle); + callout_init_rw(&lle->la_timer, &lle->lle_lock, CALLOUT_RETURNUNLOCKED); - return (&lle->base); + return (lle); } #define IN_ARE_MASKED_ADDR_EQUAL(d, a, m) ( \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501031341.t03DfsC1055932>