From owner-freebsd-net@FreeBSD.ORG Tue Jul 28 20:15:10 2009 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 1114310656B1 for ; Tue, 28 Jul 2009 20:15:10 +0000 (UTC) (envelope-from os@sfedu.ru) Received: from mail.r61.net (mail.r61.net [195.208.245.249]) by mx1.freebsd.org (Postfix) with ESMTP id 7DE4C8FC1A for ; Tue, 28 Jul 2009 20:15:08 +0000 (UTC) (envelope-from os@sfedu.ru) Received: from mind.local (os.adsl.r61.net [195.208.243.95]) (authenticated bits=0) by mail.r61.net (8.14.3/8.14.1) with ESMTP id n6SKF2LS034246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 29 Jul 2009 00:15:03 +0400 (MSD) (envelope-from os@sfedu.ru) X-Authentication-Warning: asterix.r61.net: Host os.adsl.r61.net [195.208.243.95] claimed to be mind.local Message-ID: <4A6F5C41.3050009@sfedu.ru> Date: Wed, 29 Jul 2009 00:14:57 +0400 From: Oleg Sharoyko User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: Julian Elischer References: <1248704237.96833.127.camel@brain.cc.rsu.ru> <4A6DE356.6040006@elischer.org> <4A6DEE30.6000108@sfedu.ru> <4A6DFFA1.1010709@elischer.org> <4A6E0121.2020004@sfedu.ru> <4A6E05EC.8050401@elischer.org> <4A6E0A8B.5000103@sfedu.ru> <4A6E2666.2040906@elischer.org> <4A6E3743.7050708@elischer.org> <1248788292.71222.10.camel@brain.cc.rsu.ru> <4A6F2414.2080203@elischer.org> In-Reply-To: <4A6F2414.2080203@elischer.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Wrong outgoing interface with multiple routing tables 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: Tue, 28 Jul 2009 20:15:10 -0000 Julian Elischer wrote: > ok so here's my final patch. > This is taken against -current. so it may not patch exactly cleanly. > > it's not quite minimal as I'm cleaning up something too, but > could you check it works? Works with 7.2. Thanks! > if you have ipv6 it might be nice to check that ipv6 doesn't crash > with this patch too (ipv6 doesn't support Multiple routing tables > yet). It took me some time to setup a test IPv6 network and it also works, no crashes with v6 here. -- Oleg