Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2012 22:18:46 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r235668 - stable/9/sys/dev/re
Message-ID:  <201205192218.q4JMIk2P049042@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Sat May 19 22:18:45 2012
New Revision: 235668
URL: http://svn.freebsd.org/changeset/base/235668

Log:
  MFC r234643:
  
   Do not toggle IFCAP_TSO4 if we would also do TSO6.  Given the driver does
   not currently announce/support TSO6 that cannot happen. Clean it up anyway
   for consistency.

Modified:
  stable/9/sys/dev/re/if_re.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/re/if_re.c
==============================================================================
--- stable/9/sys/dev/re/if_re.c	Sat May 19 22:17:34 2012	(r235667)
+++ stable/9/sys/dev/re/if_re.c	Sat May 19 22:18:45 2012	(r235668)
@@ -3432,7 +3432,7 @@ re_ioctl(struct ifnet *ifp, u_long comma
 			reinit = 1;
 		}
 		if ((mask & IFCAP_TSO4) != 0 &&
-		    (ifp->if_capabilities & IFCAP_TSO) != 0) {
+		    (ifp->if_capabilities & IFCAP_TSO4) != 0) {
 			ifp->if_capenable ^= IFCAP_TSO4;
 			if ((IFCAP_TSO4 & ifp->if_capenable) != 0)
 				ifp->if_hwassist |= CSUM_TSO;



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