svn commit: r347407 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Thu May 9 21:00:16 UTC 2019


Author: tuexen
Date: Thu May  9 21:00:15 2019
New Revision: 347407
URL: https://svnweb.freebsd.org/changeset/base/347407

Log:
  Don't use C++ style comments.
  
  These where introduced in r347382.
  Reported by:		ngie@

Modified:
  head/sys/netinet/tcp_input.c

Modified: head/sys/netinet/tcp_input.c
==============================================================================
--- head/sys/netinet/tcp_input.c	Thu May  9 20:30:35 2019	(r347406)
+++ head/sys/netinet/tcp_input.c	Thu May  9 21:00:15 2019	(r347407)
@@ -3045,15 +3045,21 @@ dodata:							/* XXX */
 		if (tp->t_flags & TF_SACK_PERMIT) {
 			if (((tlen == 0) && (save_tlen > 0) &&
 			    (SEQ_LT(save_start, save_rnxt)))) {
-				// DSACK actually handled in the fastpath above
+				/*
+				 * DSACK actually handled in the fastpath
+				 * above.
+				 */
 				tcp_update_sack_list(tp, save_start, save_start + save_tlen);
 			} else
 			if ((tlen > 0) && SEQ_GT(tp->rcv_nxt, save_rnxt)) {
-				// cleaning sackblks by using zero length update
+				/*
+				 * Cleaning sackblks by using zero length
+				 * update.
+				 */
 				tcp_update_sack_list(tp, save_start, save_start);
 			} else
 			if ((tlen > 0) && (tlen >= save_tlen)) {
-				// update of sackblks
+				/* Update of sackblks. */
 				tcp_update_sack_list(tp, save_start, save_start + save_tlen);
 			} else
 			if (tlen > 0) {


More information about the svn-src-head mailing list