From owner-cvs-src-old@FreeBSD.ORG Mon Nov 29 13:36:55 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 647A910656A5 for ; Mon, 29 Nov 2010 13:36:55 +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 515B48FC1C for ; Mon, 29 Nov 2010 13:36:55 +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 oATDatDk045111 for ; Mon, 29 Nov 2010 13:36:55 GMT (envelope-from gallatin@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oATDatLS045110 for cvs-src-old@freebsd.org; Mon, 29 Nov 2010 13:36:55 GMT (envelope-from gallatin@repoman.freebsd.org) Message-Id: <201011291336.oATDatLS045110@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:37 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 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:55 -0000 gallatin 2010-11-29 13:36:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mxge if_mxge.c Log: SVN rev 216055 on 2010-11-29 13:36:37Z 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.42.2.18 +12 -1 src/sys/dev/mxge/if_mxge.c