svn commit: r235668 - stable/9/sys/dev/re
Bjoern A. Zeeb
bz at FreeBSD.org
Sat May 19 22:18:46 UTC 2012
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;
More information about the svn-src-stable-9
mailing list