From owner-freebsd-net@FreeBSD.ORG Sun Aug 24 05:52:35 2008 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 68E93106564A for ; Sun, 24 Aug 2008 05:52:35 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outY.internet-mail-service.net (outy.internet-mail-service.net [216.240.47.248]) by mx1.freebsd.org (Postfix) with ESMTP id 4A0EE8FC13 for ; Sun, 24 Aug 2008 05:52:35 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 85A4C2379; Sat, 23 Aug 2008 22:52:35 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 877F72D604B; Sat, 23 Aug 2008 22:52:34 -0700 (PDT) Message-ID: <48B0F722.3050005@elischer.org> Date: Sat, 23 Aug 2008 22:52:34 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Mike Tancsa References: <200808221719.m7MHJY25090566@lava.sentex.ca> <20080822191146.T66593@maildrop.int.zabbadoz.net> <200808221922.m7MJMcUN091064@lava.sentex.ca> <3c1674c90808231916l2c92a8e4sae0f191af31b5870@mail.gmail.com> <200808240312.m7O3CZS0098145@lava.sentex.ca> In-Reply-To: <200808240312.m7O3CZS0098145@lava.sentex.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Bjoern A. Zeeb" , Kip Macy , freebsd-net@freebsd.org Subject: Re: strange TCP issue on RELENG_7 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: Sun, 24 Aug 2008 05:52:35 -0000 Mike Tancsa wrote: > At 10:16 PM 8/23/2008, Kip Macy wrote: >> Can you help me out a bit with your workload? >> >> tcp_offload_connect(...) needs to determine which interface an address >> corresponds to see if that interface supports TCP offload. The code >> does the exact same thing as ip_output does except it doesn't have the >> inpcb locked (which isn't used as part of the route lookup). > > This is the only RELENG_7 box that I have where it routes tcp packets > asymmetrically, so that sounds like it might be the portion that is > badly interacting. The server has just one default gateway, which is out > em0, but clients all over the net will connect to IP addresses aliased > on lo0 and to the one IP on em1. But all connections exit out em0 other > than connected routes of course. > > ---Mike > >> Julian has worked in this code most recently, maybe he has some idea >> what is going on. >> huh? wha? I haven't been following this thread.. what's up? >> -Kip >> >> >> On Fri, Aug 22, 2008 at 12:22 PM, Mike Tancsa wrote: >> > At 03:12 PM 8/22/2008, Bjoern A. Zeeb wrote: >> > >> >> can you make sure you have this? >> >> >> >> http://svn.freebsd.org/changeset/base/181596 >> > >> > Hi, >> > I do. I am running a GENERIC kernel but with inet6 disabled from >> yesterday >> > >> > 7.0-STABLE #0: Thu Aug 21 10:27:04 EDT 2008 >> > >> > and with the patch below as TOE seems to be broken for my workload >> > >> > >> > # diff -u sys/netinet/tcp_offload.c sys/netinet/tcp_offload.c.disable >> > --- sys/netinet/tcp_offload.c 2008-08-01 13:47:27.000000000 -0400 >> > +++ sys/netinet/tcp_offload.c.disable 2008-08-22 >> 15:16:50.000000000 -0400 >> > @@ -58,6 +58,8 @@ >> > struct rtentry *rt; >> > int error; >> > >> > + return (EINVAL); >> > + >> > /* >> > * Look up the route used for the connection to >> > * determine if it uses an interface capable of >> > >> > I can try changing to ipfw and see if that makes a difference ? But >> the RST >> > doesnt sound like a pf issue no ? I would have thought it would just >> > blackhole the packet. >> > >> > ---Mike >> > _______________________________________________ >> > 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" >> > > > _______________________________________________ > 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"