svn commit: r235670 - stable/7/sys/dev/re

Bjoern A. Zeeb bz at FreeBSD.org
Sat May 19 22:50:39 UTC 2012


Author: bz
Date: Sat May 19 22:50:38 2012
New Revision: 235670
URL: http://svn.freebsd.org/changeset/base/235670

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/7/sys/dev/re/if_re.c
Directory Properties:
  stable/7/sys/   (props changed)

Modified: stable/7/sys/dev/re/if_re.c
==============================================================================
--- stable/7/sys/dev/re/if_re.c	Sat May 19 22:50:22 2012	(r235669)
+++ stable/7/sys/dev/re/if_re.c	Sat May 19 22:50:38 2012	(r235670)
@@ -3386,7 +3386,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;


More information about the svn-src-stable-7 mailing list