Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167570984
D31753.id94491.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
440 B
Referenced Files
None
Subscribers
None
D31753.id94491.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
@@ -4900,6 +4900,9 @@
if (stcb->asoc.in_asocid_hash) {
LIST_REMOVE(stcb, sctp_tcbasocidhash);
}
+ if (inp->sctp_socket == NULL) {
+ stcb->sctp_socket = NULL;
+ }
/* Now lets remove it from the list of ALL associations in the EP */
LIST_REMOVE(stcb, sctp_tcblist);
if (from_inpcbfree == SCTP_NORMAL_PROC) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 23, 6:38 PM (7 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37157045
Default Alt Text
D31753.id94491.diff (440 B)
Attached To
Mode
D31753: sctp: Release the socket reference when detaching an association
Attached
Detach File
Event Timeline
Log In to Comment