From owner-freebsd-net@FreeBSD.ORG Sun Aug 24 02:16:08 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 D8B361065673 for ; Sun, 24 Aug 2008 02:16:08 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.231]) by mx1.freebsd.org (Postfix) with ESMTP id B07E98FC19 for ; Sun, 24 Aug 2008 02:16:08 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1794744rvf.43 for ; Sat, 23 Aug 2008 19:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=CU0bhbHhOBt0tMbjhf8rxTwvm9/WREWI5Ab3c9SIQek=; b=KtEmHxZarlfqLDs35sFptPXwF/zjaZwd18EnFqPpXpDmyfMbHt8TpYztGzivEHqcJN Lh1JrAU9NT7KfX9MjSN6lWVfvNBuvSC254kFMISvVjnZ4bOLr1e7KdOJTRKuWBkGUH36 tyIwdBYoAOkMnQuK847aV6Qjiwb6EBvfNqT2I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=gWkwXAJH8ckI4Wqbndg0SMFPkl4bdzK7ZCTazkhCZNTMtFUpQShOSJxQhyn8++h32D D+p6cdPLu1oTozJ12djA7tDy+RDbYcHux8rkLSlnswHb18mp0cdN9QZ6iBXTYrY9KSs1 RilHgZzm20TfACoVsiUu1lubUIwqWVnAqZzp8= Received: by 10.141.171.6 with SMTP id y6mr1373206rvo.143.1219544168238; Sat, 23 Aug 2008 19:16:08 -0700 (PDT) Received: by 10.141.101.21 with HTTP; Sat, 23 Aug 2008 19:16:08 -0700 (PDT) Message-ID: <3c1674c90808231916l2c92a8e4sae0f191af31b5870@mail.gmail.com> Date: Sat, 23 Aug 2008 19:16:08 -0700 From: "Kip Macy" Sender: mat.macy@gmail.com To: "Mike Tancsa" In-Reply-To: <200808221922.m7MJMcUN091064@lava.sentex.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200808221719.m7MHJY25090566@lava.sentex.ca> <20080822191146.T66593@maildrop.int.zabbadoz.net> <200808221922.m7MJMcUN091064@lava.sentex.ca> X-Google-Sender-Auth: 28ddd8c6630e17db Cc: "Bjoern A. Zeeb" , 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 02:16:08 -0000 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). Julian has worked in this code most recently, maybe he has some idea what is going on. -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" >