svn commit: r364598 - stable/12/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sun Aug 23 23:26:01 UTC 2020


Author: tuexen
Date: Sun Aug 23 23:26:00 2020
New Revision: 364598
URL: https://svnweb.freebsd.org/changeset/base/364598

Log:
  MFC r361934:
  Whitespace cleanups and removal of a stale comment.

Modified:
  stable/12/sys/netinet/sctp_pcb.c
  stable/12/sys/netinet/sctp_sysctl.c
  stable/12/sys/netinet/sctputil.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/12/sys/netinet/sctp_pcb.c	Sun Aug 23 23:24:38 2020	(r364597)
+++ stable/12/sys/netinet/sctp_pcb.c	Sun Aug 23 23:26:00 2020	(r364598)
@@ -5698,7 +5698,6 @@ sctp_startup_mcore_threads(void)
 			i++;
 		}
 	}
-
 	/* Now start them all */
 	CPU_FOREACH(cpu) {
 		(void)kproc_create(sctp_mcore_thread,
@@ -5707,7 +5706,6 @@ sctp_startup_mcore_threads(void)
 		    RFPROC,
 		    SCTP_KTHREAD_PAGES,
 		    SCTP_MCORE_NAME);
-
 	}
 }
 #endif

Modified: stable/12/sys/netinet/sctp_sysctl.c
==============================================================================
--- stable/12/sys/netinet/sctp_sysctl.c	Sun Aug 23 23:24:38 2020	(r364597)
+++ stable/12/sys/netinet/sctp_sysctl.c	Sun Aug 23 23:26:00 2020	(r364598)
@@ -451,7 +451,6 @@ sctp_sysctl_handle_assoclist(SYSCTL_HANDLER_ARGS)
 				xstcb.primary_addr = stcb->asoc.primary_destination->ro._l_addr;
 			xstcb.heartbeat_interval = stcb->asoc.heart_beat_delay;
 			xstcb.state = (uint32_t)sctp_map_assoc_state(stcb->asoc.state);
-			/* 7.0 does not support these */
 			xstcb.assoc_id = sctp_get_associd(stcb);
 			xstcb.peers_rwnd = stcb->asoc.peers_rwnd;
 			xstcb.in_streams = stcb->asoc.streamincnt;

Modified: stable/12/sys/netinet/sctputil.c
==============================================================================
--- stable/12/sys/netinet/sctputil.c	Sun Aug 23 23:24:38 2020	(r364597)
+++ stable/12/sys/netinet/sctputil.c	Sun Aug 23 23:26:00 2020	(r364598)
@@ -5553,7 +5553,6 @@ sctp_sorecvmsg(struct socket *so,
 	sockbuf_lock = 1;
 restart:
 
-
 restart_nosblocks:
 	if (hold_sblock == 0) {
 		SOCKBUF_LOCK(&so->so_rcv);


More information about the svn-src-all mailing list