From owner-cvs-src-old@FreeBSD.ORG Mon Nov 22 16:43:26 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80C5C10656C4 for ; Mon, 22 Nov 2010 16:43:26 +0000 (UTC) (envelope-from gallatin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6EAE38FC18 for ; Mon, 22 Nov 2010 16:43:26 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oAMGhQNd054454 for ; Mon, 22 Nov 2010 16:43:26 GMT (envelope-from gallatin@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oAMGhQAB054453 for cvs-src-old@freebsd.org; Mon, 22 Nov 2010 16:43:26 GMT (envelope-from gallatin@repoman.freebsd.org) Message-Id: <201011221643.oAMGhQAB054453@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to gallatin@repoman.freebsd.org using -f From: Andrew Gallatin Date: Mon, 22 Nov 2010 16:43:05 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/mxge if_mxge.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2010 16:43:26 -0000 gallatin 2010-11-22 16:43:05 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: SVN rev 215686 on 2010-11-22 16:43:05Z by gallatin Fix a TSO checksum bug on mxge(4): The Myri10GE NIC will assume all TSO frames contain partial checksum, and will emit TSO segments with bad TCP checksums if a TSO frame contains a full checksum. The mxge driver takes care to make sure that TSO is disabled when checksum offload is disabled for this reason. However, modules that modify packet contents (like pf) may end up completing a checksum on a TSO frame, leading to the NIC emitting TSO segments with bad checksums. To workaround this, restore the partial checksum in the mxge driver when we're fed a TSO frame with a full checksum. Reported by: Bob Healey MFC after: 3 days Revision Changes Path 1.82 +12 -1 src/sys/dev/mxge/if_mxge.c