aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_pcb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/sctp_pcb.c')
-rw-r--r--sys/netinet/sctp_pcb.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c
index 15f406eae32d..282ffebad541 100644
--- a/sys/netinet/sctp_pcb.c
+++ b/sys/netinet/sctp_pcb.c
@@ -4774,20 +4774,15 @@ sctp_free_assoc(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int from_inpcbfre
* added right after this
* msg.
*/
- uint32_t strseq;
-
- stcb->asoc.control_pdapi = sq;
- strseq = (sq->sinfo_stream << 16) | (sq->mid & 0x0000ffff);
sctp_ulp_notify(SCTP_NOTIFY_PARTIAL_DELVIERY_INDICATION,
stcb,
SCTP_PARTIAL_DELIVERY_ABORTED,
- (void *)&strseq,
+ (void *)sq,
SCTP_SO_LOCKED);
- stcb->asoc.control_pdapi = NULL;
}
+ /* Add an end to wake them */
+ sq->end_added = 1;
}
- /* Add an end to wake them */
- sq->end_added = 1;
}
}
SCTP_INP_READ_UNLOCK(inp);