Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2000 02:31:08 -0800
From:      William Carrel <william.a@carrel.org>
To:        <freebsd-gnats-submit@FreeBSD.org>, <william.a@carrel.org>, <freebsd-net@freebsd.org>, <freebsd-hackers@freebsd.org>
Subject:   Re: kern/16318: Fix for wrong interface when adding new routes
Message-ID:  <B4CE6AEC.33A3%william.a@carrel.org>

next in thread | raw e-mail | index | archive | help
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-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B4CE6AEC.33A3%william.a>