diff options
author | tuexen <tuexen@FreeBSD.org> | 2010-08-28 21:15:00 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2010-08-28 21:15:00 +0000 |
commit | 10773ba533b6afc49c6a607ff7b4c8dd6a3e0950 (patch) | |
tree | 3e8918e6b405406367e72c109ccf3f4b6229e4a0 /sys/netinet | |
parent | 6492a7e501409981b990e221372e5a080bd9fb65 (diff) | |
download | FreeBSD-src-10773ba533b6afc49c6a607ff7b4c8dd6a3e0950.zip FreeBSD-src-10773ba533b6afc49c6a607ff7b4c8dd6a3e0950.tar.gz |
Bugfix: Do not send a packet drop report in response to a received
INIT-ACK with incorrect CRC.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/sctp_output.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c index aa771a6..d322d07 100644 --- a/sys/netinet/sctp_output.c +++ b/sys/netinet/sctp_output.c @@ -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; |