From owner-cvs-all Mon May 14 17:10: 6 2001 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id D0CC837B422; Mon, 14 May 2001 17:09:55 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.3/8.11.3) with ESMTP id f4F09s364047; Tue, 15 May 2001 01:09:54 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f4F09q515206; Tue, 15 May 2001 01:09:52 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200105150009.f4F09q515206@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Ruslan Ermilov Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@Awfulhak.org Subject: Re: cvs commit: src/sys/net route.c src/sys/netinet in.c in_rmx.c in_var.h raw_ip.c In-Reply-To: Message from Ruslan Ermilov of "Mon, 14 May 2001 01:23:49 PDT." <200105140823.f4E8NnL79490@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 15 May 2001 01:09:52 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Does this break ppp(8) ? I haven't yet merged any of the SIOCAIFADDR optimisation stuff - and as I found a bug in it only a few days ago, I'm a bit loathe to merge it for another week or two. > ru 2001/05/14 01:23:49 PDT > > Modified files: (Branch: RELENG_4) > sys/net route.c > sys/netinet in.c in_rmx.c in_var.h raw_ip.c > Log: > MFC. > > net/route.c: > A route generated from an RTF_CLONING route had the RTF_WASCLONED flag > set but did not have a reference to the parent route, as documented in > the rtentry(9) manpage. This prevented such routes from being deleted > when their parent route was deleted. > > netinet/in.c: > When address is removed from an interface, also delete all routes that > point to this interface and address. Previously, for example, if you > changed the address on an interface, outgoing IP datagrams might still > use the old address. The only solution was to delete and re-add some > routes. > > netinet/in_rmx.c, netinet/in_var.h, netinet/raw_ip.c: > In in_ifadown(), differentiate between whether the interface goes > down or interface address is deleted. Only delete static routes > in the latter case. > > PR: kern/20785, bin/26970, i386/27280 > > Revision Changes Path > 1.59.2.2 +5 -4 src/sys/net/route.c > 1.44.2.3 +12 -1 src/sys/netinet/in.c > 1.37.2.1 +14 -12 src/sys/netinet/in_rmx.c > 1.33.2.1 +2 -2 src/sys/netinet/in_var.h > 1.64.2.5 +2 -2 src/sys/netinet/raw_ip.c -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message