From owner-freebsd-bugs Tue Feb 15 2:39:40 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by builder.freebsd.org (Postfix) with ESMTP id 1EEC342DA for ; Tue, 15 Feb 2000 02:39:39 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA94010; Tue, 15 Feb 2000 02:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Tue, 15 Feb 2000 02:40:03 -0800 (PST) Message-Id: <200002151040.CAA94010@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: William Carrel Subject: Re: kern/16318: Fix for wrong interface when adding new routes Reply-To: William Carrel Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/16318; it has been noted by GNATS. From: William Carrel To: , , , Cc: Subject: Re: kern/16318: Fix for wrong interface when adding new routes Date: Tue, 15 Feb 2000 02:31:08 -0800 This patch is applicable for both FreeBSD-stable AND FreeBSD-current, as well as OpenBSD and NetBSD. It has no noticeable ill-effects on the machines of nearly a dozen FreeBSD users that have been testing the patch for me. Nor does it have ill effects on the OpenBSD and NetBSD machines I have access to. It fixes some brain-dead behavior of the kernel routing table on all these operating systems. It causes the routing table to check itself for the ifa to assign to new routes before asking the interfaces. There are occasions (such as Ethernet point to point links) where the interfaces' idea of where a packet should go could disagree with the routing tables user made static entries. This leads to some very bizarre behavior for things like the default gateway if they get their packets routed to the wrong interface. The patch is available here: http://www.FreeBSD.org/cgi/query-pr.cgi?pr=16318 I just thought I'd post this around again to draw attention to my open PR with code included, and mention that I've had successful testing reports on -current. -- William Carrel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message