Author: tuexen
Date: Tue Dec 31 12:29:01 2019
New Revision: 356224
URL: https://svnweb.freebsd.org/changeset/base/356224

Log:
  Add curly braces missed in https://svnweb.freebsd.org/changeset/base/354773
  
  Sponsored by:         Netflix, Inc.
  CID:                  1407649

Modified:
  head/sys/netinet/cc/cc_cubic.c

Modified: head/sys/netinet/cc/cc_cubic.c
==============================================================================
--- head/sys/netinet/cc/cc_cubic.c      Tue Dec 31 11:45:19 2019        
(r356223)
+++ head/sys/netinet/cc/cc_cubic.c      Tue Dec 31 12:29:01 2019        
(r356224)
@@ -200,10 +200,11 @@ cubic_ack_received(struct cc_var *ccv, uint16_t type)
                         * max_cwnd.
                         */
                        if (cubic_data->num_cong_events == 0 &&
-                           cubic_data->max_cwnd < CCV(ccv, snd_cwnd))
+                           cubic_data->max_cwnd < CCV(ccv, snd_cwnd)) {
                                cubic_data->max_cwnd = CCV(ccv, snd_cwnd);
                                cubic_data->K = cubic_k(cubic_data->max_cwnd /
                                    CCV(ccv, t_maxseg));
+                       }
                }
        }
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to