Bugfix: Do not send a packet drop report in response to a received

INIT-ACK with incorrect CRC.
This commit is contained in:
Michael Tuexen 2010-08-28 21:15:00 +00:00
parent 9bc38a3ba2
commit e24ea413e0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211950

View File

@ -11001,9 +11001,12 @@ sctp_send_packet_dropped(struct sctp_tcb *stcb, struct sctp_nets *net,
switch (ch->chunk_type) {
case SCTP_PACKET_DROPPED:
case SCTP_ABORT_ASSOCIATION:
/*-
* we don't respond with an PKT-DROP to an ABORT
* or PKT-DROP
case SCTP_INITIATION_ACK:
/**
* We don't respond with an PKT-DROP to an ABORT
* or PKT-DROP. We also do not respond to an
* INIT-ACK, because we can't know if the initiation
* tag is correct or not.
*/
sctp_free_a_chunk(stcb, chk);
return;