svn commit: r361934 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Mon Jun 8 20:23:21 UTC 2020
Author: tuexen
Date: Mon Jun 8 20:23:20 2020
New Revision: 361934
URL: https://svnweb.freebsd.org/changeset/base/361934
Log:
Whitespace cleanups and removal of a stale comment.
MFC after: 1 week
Modified:
head/sys/netinet/sctp_pcb.c
head/sys/netinet/sctp_sysctl.c
head/sys/netinet/sctputil.c
Modified: head/sys/netinet/sctp_pcb.c
==============================================================================
--- head/sys/netinet/sctp_pcb.c Mon Jun 8 18:13:38 2020 (r361933)
+++ head/sys/netinet/sctp_pcb.c Mon Jun 8 20:23:20 2020 (r361934)
@@ -5686,7 +5686,6 @@ sctp_startup_mcore_threads(void)
i++;
}
}
-
/* Now start them all */
CPU_FOREACH(cpu) {
(void)kproc_create(sctp_mcore_thread,
@@ -5695,7 +5694,6 @@ sctp_startup_mcore_threads(void)
RFPROC,
SCTP_KTHREAD_PAGES,
SCTP_MCORE_NAME);
-
}
}
#endif
Modified: head/sys/netinet/sctp_sysctl.c
==============================================================================
--- head/sys/netinet/sctp_sysctl.c Mon Jun 8 18:13:38 2020 (r361933)
+++ head/sys/netinet/sctp_sysctl.c Mon Jun 8 20:23:20 2020 (r361934)
@@ -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: head/sys/netinet/sctputil.c
==============================================================================
--- head/sys/netinet/sctputil.c Mon Jun 8 18:13:38 2020 (r361933)
+++ head/sys/netinet/sctputil.c Mon Jun 8 20:23:20 2020 (r361934)
@@ -5565,7 +5565,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