Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151111234
D31886.id94906.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
470 B
Referenced Files
None
Subscribers
None
D31886.id94906.diff
View Options
Index: sys/netinet/sctp_pcb.c
===================================================================
--- sys/netinet/sctp_pcb.c
+++ 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
Tue, Apr 7, 3:48 AM (7 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31009405
Default Alt Text
D31886.id94906.diff (470 B)
Attached To
Mode
D31886: sctp: Clear assoc socket references when freeing a PCB
Attached
Detach File
Event Timeline
Log In to Comment