Page MenuHomeFreeBSD

D31753.diff
No OneTemporary

D31753.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
@@ -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

Mime Type
text/plain
Expires
Mon, Oct 5, 6:55 PM (34 m, 15 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40253841
Default Alt Text
D31753.diff (440 B)

Event Timeline