Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167078644
D31886.id94914.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
438 B
Referenced Files
None
Subscribers
None
D31886.id94914.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
@@ -3358,6 +3358,7 @@
LIST_FOREACH_SAFE(asoc, &inp->sctp_asoc_list, sctp_tcblist, nasoc) {
SCTP_TCB_LOCK(asoc);
if (asoc->asoc.state & SCTP_STATE_ABOUT_TO_BE_FREED) {
+ asoc->sctp_socket = NULL;
/* Skip guys being freed */
cnt_in_sd++;
if (asoc->asoc.state & SCTP_STATE_IN_ACCEPT_QUEUE) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 9:53 PM (7 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36921117
Default Alt Text
D31886.id94914.diff (438 B)
Attached To
Mode
D31886: sctp: Clear assoc socket references when freeing a PCB
Attached
Detach File
Event Timeline
Log In to Comment