From owner-cvs-src-old@FreeBSD.ORG Mon Nov 29 13:36:35 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 0E38B1065694 for ; Mon, 29 Nov 2010 13:36:35 +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 EEFA08FC08 for ; Mon, 29 Nov 2010 13:36:34 +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 oATDaYBP045076 for ; Mon, 29 Nov 2010 13:36:34 GMT (envelope-from gallatin@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oATDaY1s045075 for cvs-src-old@freebsd.org; Mon, 29 Nov 2010 13:36:34 GMT (envelope-from gallatin@repoman.freebsd.org) Message-Id: <201011291336.oATDaY1s045075@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to gallatin@repoman.freebsd.org using -f From: Andrew Gallatin Date: Mon, 29 Nov 2010 13:36:20 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 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, 29 Nov 2010 13:36:35 -0000 gallatin 2010-11-29 13:36:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/mxge if_mxge.c Log: SVN rev 216054 on 2010-11-29 13:36:20Z by gallatin MFC 215686: 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. Revision Changes Path 1.64.2.14 +12 -1 src/sys/dev/mxge/if_mxge.c