Date: Fri, 7 Oct 2011 14:17:35 -0400 From: Arnaud Lacombe <lacombar@gmail.com> To: dfilter service <dfilter@freebsd.org> Cc: freebsd-net@freebsd.org Subject: Re: kern/159601: commit references a PR Message-ID: <CACqU3MXyF2MsGmpmGsz1YrNfdMX1U7eNZk5yMd0J1VHoVdCfOg@mail.gmail.com> In-Reply-To: <201110071810.p97IA4RI000569@freefall.freebsd.org> References: <201110071810.p97IA4RI000569@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Fri, Oct 7, 2011 at 2:10 PM, dfilter service <dfilter@freebsd.org> wrote: > The following reply was made to PR kern/159601; it has been noted by GNATS. > > From: dfilter@FreeBSD.ORG (dfilter service) > To: bug-followup@FreeBSD.org > Cc: > Subject: Re: kern/159601: commit references a PR > Date: Fri, 7 Oct 2011 18:01:51 +0000 (UTC) > > Author: qingli > Date: Fri Oct 7 18:01:34 2011 > New Revision: 226114 > URL: http://svn.freebsd.org/changeset/base/226114 > > Log: > Remove the reference held on the loopback route when the interface > address is being deleted. Only the last reference holder deletes the > loopback route. All other delete operations just clear the IFA_RTSELF > flag. > > PR: kern/159601 > Submitted by: pluknet > Reviewed by: discussed on net@ Can you point me in which thread ? Thanks, - Arnaud > MFC after: 3 days > > Modified: > head/sys/netinet/in.c > > Modified: head/sys/netinet/in.c > ============================================================================== > --- head/sys/netinet/in.c Fri Oct 7 16:39:03 2011 (r226113) > +++ head/sys/netinet/in.c Fri Oct 7 18:01:34 2011 (r226114) > @@ -1126,8 +1126,10 @@ in_scrubprefix(struct in_ifaddr *target, > RT_LOCK(ia_ro.ro_rt); > if (ia_ro.ro_rt->rt_refcnt <= 1) > freeit = 1; > - else > + else if (flags & LLE_STATIC) { > RT_REMREF(ia_ro.ro_rt); > + target->ia_flags &= ~IFA_RTSELF; > + } > RTFREE_LOCKED(ia_ro.ro_rt); > } > if (freeit && (flags & LLE_STATIC)) { > _______________________________________________ > svn-src-all@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-all > To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACqU3MXyF2MsGmpmGsz1YrNfdMX1U7eNZk5yMd0J1VHoVdCfOg>
