Author: rmacklem
Date: Mon May  5 11:30:45 2014
New Revision: 265357
URL: http://svnweb.freebsd.org/changeset/base/265357

Log:
  MFC: r264739
  Add {} braces so that the code conforms to the indentation.
  Fortunately, I don't think doing the assignment of cap->tsomax
  unconditionally causes any problem.

Modified:
  stable/9/sys/netinet/tcp_subr.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/netinet/tcp_subr.c
==============================================================================
--- stable/9/sys/netinet/tcp_subr.c     Mon May  5 10:54:36 2014        
(r265356)
+++ stable/9/sys/netinet/tcp_subr.c     Mon May  5 11:30:45 2014        
(r265357)
@@ -1741,9 +1741,10 @@ tcp_maxmtu(struct in_conninfo *inc, stru
                /* Report additional interface capabilities. */
                if (cap != NULL) {
                        if (ifp->if_capenable & IFCAP_TSO4 &&
-                           ifp->if_hwassist & CSUM_TSO)
+                           ifp->if_hwassist & CSUM_TSO) {
                                cap->ifcap |= CSUM_TSO;
                                cap->tsomax = ifp->if_hw_tsomax;
+                       }
                }
                RTFREE(sro.ro_rt);
        }
@@ -1779,9 +1780,10 @@ tcp_maxmtu6(struct in_conninfo *inc, str
                /* Report additional interface capabilities. */
                if (cap != NULL) {
                        if (ifp->if_capenable & IFCAP_TSO6 &&
-                           ifp->if_hwassist & CSUM_TSO)
+                           ifp->if_hwassist & CSUM_TSO) {
                                cap->ifcap |= CSUM_TSO;
                                cap->tsomax = ifp->if_hw_tsomax;
+                       }
                }
                RTFREE(sro6.ro_rt);
        }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to