Date: Sat, 19 May 2012 22:50:39 +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-7@freebsd.org Subject: svn commit: r235670 - stable/7/sys/dev/re Message-ID: <201205192250.q4JModox050565@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205192250.q4JModox050565>