Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102771391
D31754.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
672 B
Referenced Files
None
Subscribers
None
D31754.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D31754: sctp: Hold association locks across socket wakeups when freeing
Attached
Detach File
Event Timeline
Log In to Comment