svn commit: r361477 - stable/11/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Mon May 25 20:19:09 UTC 2020
Author: tuexen
Date: Mon May 25 20:19:09 2020
New Revision: 361477
URL: https://svnweb.freebsd.org/changeset/base/361477
Log:
MFC r361224: Cleanup.
No functional change
Modified:
stable/11/sys/netinet/sctp_pcb.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/11/sys/netinet/sctp_pcb.c Mon May 25 20:17:34 2020 (r361476)
+++ stable/11/sys/netinet/sctp_pcb.c Mon May 25 20:19:09 2020 (r361477)
@@ -5212,16 +5212,12 @@ sctp_free_assoc(struct sctp_inpcb *inp, struct sctp_tc
SCTP_FREE_SHOULD_USE_GRACEFUL_CLOSE,
SCTP_CALLED_DIRECTLY_NOCMPSET);
SCTP_INP_DECR_REF(inp);
- goto out_of;
} else {
/* The socket is still open. */
SCTP_INP_DECR_REF(inp);
+ SCTP_INP_RUNLOCK(inp);
}
}
- if (from_inpcbfree == SCTP_NORMAL_PROC) {
- SCTP_INP_RUNLOCK(inp);
- }
-out_of:
/* destroyed the asoc */
#ifdef SCTP_LOG_CLOSING
sctp_log_closing(inp, NULL, 11);
More information about the svn-src-stable-11
mailing list