Page MenuHomeFreeBSD

D31754.diff
No OneTemporary

D31754.diff

diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c
--- a/sys/netinet/sctp_pcb.c
+++ b/sys/netinet/sctp_pcb.c
@@ -4802,8 +4802,6 @@
SCTP_CLEAR_SUBSTATE(stcb, SCTP_STATE_IN_ACCEPT_QUEUE);
sctp_timer_start(SCTP_TIMER_TYPE_ASOCKILL, inp, stcb, NULL);
}
- SCTP_TCB_SEND_UNLOCK(stcb);
- SCTP_TCB_UNLOCK(stcb);
if ((inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) ||
(inp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE))
/* nothing around */
@@ -4813,6 +4811,8 @@
sctp_sorwakeup(inp, so);
sctp_sowwakeup(inp, so);
}
+ SCTP_TCB_SEND_UNLOCK(stcb);
+ SCTP_TCB_UNLOCK(stcb);
#ifdef SCTP_LOG_CLOSING
sctp_log_closing(inp, stcb, 9);

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 11:12 PM (21 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14686219
Default Alt Text
D31754.diff (672 B)

Event Timeline