From owner-freebsd-bugs@FreeBSD.ORG Sun Jan 13 22:20:03 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDE8B16A417 for ; Sun, 13 Jan 2008 22:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C271A13C457 for ; Sun, 13 Jan 2008 22:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0DMK3lR005495 for ; Sun, 13 Jan 2008 22:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0DMK3Mp005494; Sun, 13 Jan 2008 22:20:03 GMT (envelope-from gnats) Date: Sun, 13 Jan 2008 22:20:03 GMT Message-Id: <200801132220.m0DMK3Mp005494@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Bernd Heller Cc: Subject: Re: kern/119635: Bad UDP packet checksum with em(4) and rxcsum/txcsum enabled X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bernd Heller List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2008 22:20:03 -0000 The following reply was made to PR kern/119635; it has been noted by GNATS. From: Bernd Heller To: Kris Kennaway Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/119635: Bad UDP packet checksum with em(4) and rxcsum/txcsum enabled Date: Sun, 13 Jan 2008 22:59:52 +0100 Hi Kris, yes, I ran tcpdump from another system on the same subnet, connected by a hub. Bernd On 13.01.2008, at 20:04, Kris Kennaway wrote: > Bernd Heller wrote: > >>> Description: >> I have an Intel Pro/1000 PT Desktop Adapter network card in that >> machine, and by default the em(4) driver has rxcsum/txcsum enabled. >> But the checksums for some UDP packets generated this way are >> wrong. I noticed this when trying to run avahi-daemon. It sends UDP >> multicast packets, but they were never recognized on the network. >> Only when using tcpdump did I notice the bad checksums. After I >> disabled rxcsum/txcsum on the interface all was working perfectly. >> I could reproduce the same issue in a VMware machine using FreeBSD >> 7.0-RC1 i386 and amd64. 6.2 seems to be unaffected. >>> How-To-Repeat: >> Run avahi-daemon to publish any services (it will do so by default) >> and analyze the UDP packages sent out. >>> Fix: >> Workaround: disable rxcsum/txcsum on the interface. > > Please confirm that you ran tcpdump from ANOTHER system, not the one > generating the packets. See the tcpdump manpage for more discussion > of hardware checksumming and tcpdump. > > Kris