Skip site navigation (1)Skip section navigation (2)
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 GNAT=
S.
>
> From: dfilter@FreeBSD.ORG (dfilter service)
> To: bug-followup@FreeBSD.org
> Cc:
> Subject: Re: kern/159601: commit references a PR
> Date: Fri, =A07 Oct 2011 18:01:51 +0000 (UTC)
>
> =A0Author: qingli
> =A0Date: Fri Oct =A07 18:01:34 2011
> =A0New Revision: 226114
> =A0URL: http://svn.freebsd.org/changeset/base/226114
>
> =A0Log:
> =A0 Remove the reference held on the loopback route when the interface
> =A0 address is being deleted. Only the last reference holder deletes the
> =A0 loopback route. All other delete operations just clear the IFA_RTSELF
> =A0 flag.
>
> =A0 PR: =A0 =A0 =A0 =A0 =A0kern/159601
> =A0 Submitted by: =A0 =A0 =A0 =A0pluknet
> =A0 Reviewed by: discussed on net@
Can you point me in which thread ?

Thanks,
 - Arnaud

> =A0 MFC after: =A0 3 days
>
> =A0Modified:
> =A0 head/sys/netinet/in.c
>
> =A0Modified: head/sys/netinet/in.c
> =A0=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
> =A0--- head/sys/netinet/in.c =A0 =A0 =A0Fri Oct =A07 16:39:03 2011 =A0 =
=A0 =A0 =A0(r226113)
> =A0+++ head/sys/netinet/in.c =A0 =A0 =A0Fri Oct =A07 18:01:34 2011 =A0 =
=A0 =A0 =A0(r226114)
> =A0@@ -1126,8 +1126,10 @@ in_scrubprefix(struct in_ifaddr *target,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RT_LOCK(ia_ro.ro_rt);
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if (ia_ro.ro_rt->rt_refcnt=
 <=3D 1)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0freeit =3D=
 1;
> =A0- =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0else
> =A0+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0else if (flags & LLE_STAT=
IC) {
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RT_REMREF(=
ia_ro.ro_rt);
> =A0+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0target->i=
a_flags &=3D ~IFA_RTSELF;
> =A0+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0}
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RTFREE_LOCKED(ia_ro.ro_rt)=
;
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0}
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if (freeit && (flags & LLE_STATIC)) {
> =A0_______________________________________________
> =A0svn-src-all@freebsd.org mailing list
> =A0http://lists.freebsd.org/mailman/listinfo/svn-src-all
> =A0To 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>