diff --git a/usrsctplib/netinet/sctp_input.c b/usrsctplib/netinet/sctp_input.c index ae20c4038..20ca1336b 100755 --- a/usrsctplib/netinet/sctp_input.c +++ b/usrsctplib/netinet/sctp_input.c @@ -4999,6 +4999,8 @@ sctp_process_control(struct mbuf *m, int iphlen, int *offset, int length, */ if ((netp != NULL) && (*netp != NULL)) stcb->asoc.last_control_chunk_from = *netp; + else + stcb->asoc.last_control_chunk_from = NULL; } } #ifdef SCTP_AUDITING_ENABLED