Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 2010 04:48:40 +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-7@freebsd.org
Subject:   svn commit: r208368 - stable/7/sys/netinet
Message-ID:  <201005210448.o4L4meog011509@svn.freebsd.org>

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

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/7/sys/netinet/tcp_output.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/netinet/tcp_output.c
==============================================================================
--- stable/7/sys/netinet/tcp_output.c	Fri May 21 04:47:22 2010	(r208367)
+++ stable/7/sys/netinet/tcp_output.c	Fri May 21 04:48:40 2010	(r208368)
@@ -995,7 +995,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?201005210448.o4L4meog011509>