Date: Fri, 7 Oct 2011 18:30:23 +0000 From: "Li, Qing" <qing.li@bluecoat.com> To: Arnaud Lacombe <lacombar@gmail.com>, dfilter service <dfilter@freebsd.org> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: RE: kern/159601: commit references a PR Message-ID: <B143A8975061C446AD5E29742C53172313E188@PWSVL-EXCMBX-01.internal.cacheflow.com> In-Reply-To: <CACqU3MXyF2MsGmpmGsz1YrNfdMX1U7eNZk5yMd0J1VHoVdCfOg@mail.gmail.com> References: <201110071810.p97IA4RI000569@freefall.freebsd.org>, <CACqU3MXyF2MsGmpmGsz1YrNfdMX1U7eNZk5yMd0J1VHoVdCfOg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
=0A= The important thing is if you have questions, just ask me.=0A= =0A= You can start from this email thread. =0A= =0A= http://lists.freebsd.org/pipermail/freebsd-current/2011-August/026423.ht= ml=0A= =0A= --Qing=0A= =0A= ________________________________________=0A= From: owner-freebsd-net@freebsd.org [owner-freebsd-net@freebsd.org] on beha= lf of Arnaud Lacombe [lacombar@gmail.com]=0A= Sent: Friday, October 07, 2011 11:17 AM=0A= To: dfilter service=0A= Cc: freebsd-net@freebsd.org=0A= Subject: Re: kern/159601: commit references a PR=0A= =0A= Hi,=0A= =0A= On Fri, Oct 7, 2011 at 2:10 PM, dfilter service <dfilter@freebsd.org> wrote= :=0A= > The following reply was made to PR kern/159601; it has been noted by GNAT= S.=0A= >=0A= > From: dfilter@FreeBSD.ORG (dfilter service)=0A= > To: bug-followup@FreeBSD.org=0A= > Cc:=0A= > Subject: Re: kern/159601: commit references a PR=0A= > Date: Fri, 7 Oct 2011 18:01:51 +0000 (UTC)=0A= >=0A= > Author: qingli=0A= > Date: Fri Oct 7 18:01:34 2011=0A= > New Revision: 226114=0A= > URL: http://svn.freebsd.org/changeset/base/226114=0A= >=0A= > Log:=0A= > Remove the reference held on the loopback route when the interface=0A= > address is being deleted. Only the last reference holder deletes the=0A= > loopback route. All other delete operations just clear the IFA_RTSELF= =0A= > flag.=0A= >=0A= > PR: kern/159601=0A= > Submitted by: pluknet=0A= > Reviewed by: discussed on net@=0A= Can you point me in which thread ?=0A= =0A= Thanks,=0A= - Arnaud=0A= =0A= > MFC after: 3 days=0A= >=0A= > Modified:=0A= > head/sys/netinet/in.c=0A= >=0A= > Modified: head/sys/netinet/in.c=0A= > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=0A= > --- head/sys/netinet/in.c Fri Oct 7 16:39:03 2011 (r226113)= =0A= > +++ head/sys/netinet/in.c Fri Oct 7 18:01:34 2011 (r226114)= =0A= > @@ -1126,8 +1126,10 @@ in_scrubprefix(struct in_ifaddr *target,=0A= > RT_LOCK(ia_ro.ro_rt);=0A= > if (ia_ro.ro_rt->rt_refcnt <=3D 1)=0A= > freeit =3D 1;=0A= > - else=0A= > + else if (flags & LLE_STATIC) {=0A= > RT_REMREF(ia_ro.ro_rt);=0A= > + target->ia_flags &=3D ~IFA_RTSELF;=0A= > + }=0A= > RTFREE_LOCKED(ia_ro.ro_rt);=0A= > }=0A= > if (freeit && (flags & LLE_STATIC)) {=0A= > _______________________________________________=0A= > svn-src-all@freebsd.org mailing list=0A= > http://lists.freebsd.org/mailman/listinfo/svn-src-all=0A= > To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"= =0A= >=0A= > _______________________________________________=0A= > freebsd-net@freebsd.org mailing list=0A= > http://lists.freebsd.org/mailman/listinfo/freebsd-net=0A= > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"=0A= >=0A= _______________________________________________=0A= freebsd-net@freebsd.org mailing list=0A= http://lists.freebsd.org/mailman/listinfo/freebsd-net=0A= To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"=0A=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B143A8975061C446AD5E29742C53172313E188>