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:
parent
b367218794
commit
04d432fdc0
@ -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... */
|
||||
|
Loading…
Reference in New Issue
Block a user