svn commit: r235669 - stable/8/sys/dev/re
Bjoern A. Zeeb
bz at FreeBSD.org
Sat May 19 22:50:23 UTC 2012
Author: bz
Date: Sat May 19 22:50:22 2012
New Revision: 235669
URL: http://svn.freebsd.org/changeset/base/235669
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/8/sys/dev/re/if_re.c
Directory Properties:
stable/8/sys/ (props changed)
Modified: stable/8/sys/dev/re/if_re.c
==============================================================================
--- stable/8/sys/dev/re/if_re.c Sat May 19 22:18:45 2012 (r235668)
+++ stable/8/sys/dev/re/if_re.c Sat May 19 22:50:22 2012 (r235669)
@@ -3388,7 +3388,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-8
mailing list