Plug mbuf leak in the SCTP input path in an error case.

Approved by:            re (kib@)
MFC after:              1 week
CID:			749312
This commit is contained in:
tuexen 2018-09-30 21:54:02 +00:00
parent b367218794
commit 04d432fdc0

View File

@ -670,6 +670,7 @@ sctp_handle_asconf(struct mbuf *m, unsigned int offset,
SCTPDBG(SCTP_DEBUG_ASCONF1,
"handle_asconf: couldn't get lookup addr!\n");
/* respond with a missing/invalid mandatory parameter error */
sctp_m_freem(m_ack);
return;
}
/* param_length is already validated in process_control... */