Cleanup, no functional change intended.
MFC after: 3 days
This commit is contained in:
parent
275379902e
commit
bca1802890
@ -5203,16 +5203,12 @@ sctp_free_assoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int from_inpcbfre
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user