Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 2010 04:47:23 +0000 (UTC)
From:      "Kenneth D. Merry" <ken@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r208367 - stable/8/sys/netinet
Message-ID:  <201005210447.o4L4lN5M011179@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ken
Date: Fri May 21 04:47:22 2010
New Revision: 208367
URL: http://svn.freebsd.org/changeset/base/208367

Log:
  MFC r206844:
  
  Don't clear other flags (e.g. CSUM_TCP) when setting CSUM_TSO.  This was
  causing TSO to break for the Xen netfront driver.
  
  Reviewed by:	gibbs, rwatson

Modified:
  stable/8/sys/netinet/tcp_output.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/geom/sched/   (props changed)

Modified: stable/8/sys/netinet/tcp_output.c
==============================================================================
--- stable/8/sys/netinet/tcp_output.c	Thu May 20 23:06:53 2010	(r208366)
+++ stable/8/sys/netinet/tcp_output.c	Fri May 21 04:47:22 2010	(r208367)
@@ -1051,7 +1051,7 @@ send:
 	 * XXX: Fixme: This is currently not the case for IPv6.
 	 */
 	if (tso) {
-		m->m_pkthdr.csum_flags = CSUM_TSO;
+		m->m_pkthdr.csum_flags |= CSUM_TSO;
 		m->m_pkthdr.tso_segsz = tp->t_maxopd - optlen;
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005210447.o4L4lN5M011179>