From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 9 06:49:48 2007 Return-Path: X-Original-To: freebsd-bugs@freebsd.org Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B331316A400 for ; Mon, 9 Apr 2007 06:49:48 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.freebsd.org (Postfix) with ESMTP id 6BA4013C45E for ; Mon, 9 Apr 2007 06:49:48 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so905383pyh for ; Sun, 08 Apr 2007 23:49:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=Mrg5ZrLg76oUZoi0003v2nl9HeFPdVUsPhuXaUxuJ2or9OqINAdRAM5Ber/pOCBCISzkl/qwIRgvT6T2LI5lkMZNH6DNUWEDyIGyb6KmqWohRz54lqiwTEg3nODz0xUJZJkeU98aEYyD7c8DSk87bwCNjDRqmS+opPaReGyhGUY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=EW0F4O+/EubqFUc5yLORlnkwVJLnorZYNjWUuEsqkjFCxEC2tFl9XcluVI7Cy+yPibMNbuMJ1ZOqN0BJanywFVhYPig2ZGPqDNEN9Mblwk39GBITykWry5veMChO/BjCLApJj03w5JIWxPdmFcqUfB3SH4dfrNGMFg/7iB0p/Lc= Received: by 10.65.204.7 with SMTP id g7mr11056213qbq.1176099899777; Sun, 08 Apr 2007 23:24:59 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id 15sm27449048nzn.2007.04.08.23.24.57; Sun, 08 Apr 2007 23:24:58 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l396QLgO042726 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 9 Apr 2007 15:26:21 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l396QJiB042725; Mon, 9 Apr 2007 15:26:19 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 9 Apr 2007 15:26:19 +0900 From: Pyun YongHyeon To: Harald Schmalzbauer Message-ID: <20070409062618.GA41379@cdnetworks.co.kr> References: <200704082120.l38LKA3v058525@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200704082120.l38LKA3v058525@freefall.freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/111384: msk hw checksum problem X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Apr 2007 06:49:48 -0000 On Sun, Apr 08, 2007 at 09:20:10PM +0000, Harald Schmalzbauer wrote: > The following reply was made to PR kern/111384; it has been noted by GNATS. > > From: Harald Schmalzbauer > To: FreeBSD-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org > Cc: > Subject: Re: kern/111384: msk hw checksum problem > Date: Sun, 8 Apr 2007 22:58:12 +0200 > > I did a quick check on 6.2-stable and couldn't see the symptom (no connection > to freeshports). But I haven't captured traffic, so I can't guarantee that > the "TCP checksum mismatch" doesn't aplly to 6.2-stable as well. > Hmm, it's odd that STABLE works wihtout issues. msk(4) in STABLE takes the same code path so it shoud have the issue too if msk(4) in HEAD also has checksum offload issues. The reason of sending Winwdos probe message comes from the other party' zero window advertisement in SYN + ACK packet. As you know TCP can't send more data except window probing message if it recevied zero window advirtisement. Maybe the other party(www.freshports.org) advertise its window update packet if it received correct window probe message from msk(4). Since msk(4) failed to generate correct TCP cheksum the other party didn't receive the probe message and you've lost connection here. Anyway I was able to reproduce the issue on HEAD but I have no idea atm. Just padding with zeros to make it 60 bytes frame didn't work and I wonder how it could work in STABLE. > -Harry > -- Regards, Pyun YongHyeon