From owner-freebsd-net@FreeBSD.ORG Fri Oct 7 18:17:37 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0781106566C for ; Fri, 7 Oct 2011 18:17:37 +0000 (UTC) (envelope-from lacombar@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 35D5F8FC12 for ; Fri, 7 Oct 2011 18:17:36 +0000 (UTC) Received: by wwe3 with SMTP id 3so5979042wwe.31 for ; Fri, 07 Oct 2011 11:17:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=KeTv33ad5r91IRryp3YCHrba8LQugkWWqvoXa0tPFIE=; b=wvGLVqvv3QrvnJcbLyvQRHi8UdecDs6e2pZ7U2/tiXlmwSlO9DZNPWTGB2jB6DKpG9 0rIAetLWWQo58OfGrKV6YbNhbAYxCnnMwwSfmlm/cgWcTxLCfOJw68S8H2Wh+EMtWlED sdiR7VqsMpllfAgYUre6M05g1u3IYcvNXxCH0= MIME-Version: 1.0 Received: by 10.216.170.204 with SMTP id p54mr1146631wel.51.1318011455763; Fri, 07 Oct 2011 11:17:35 -0700 (PDT) Received: by 10.180.103.33 with HTTP; Fri, 7 Oct 2011 11:17:35 -0700 (PDT) In-Reply-To: <201110071810.p97IA4RI000569@freefall.freebsd.org> References: <201110071810.p97IA4RI000569@freefall.freebsd.org> Date: Fri, 7 Oct 2011 14:17:35 -0400 Message-ID: From: Arnaud Lacombe To: dfilter service Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: kern/159601: commit references a PR X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2011 18:17:37 -0000 Hi, On Fri, Oct 7, 2011 at 2:10 PM, dfilter service 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" >