Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 2010 21:15:00 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r211950 - head/sys/netinet
Message-ID:  <201008282115.o7SLF0Uf043670@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Sat Aug 28 21:15:00 2010
New Revision: 211950
URL: http://svn.freebsd.org/changeset/base/211950

Log:
  Bugfix: Do not send a packet drop report in response to a received
          INIT-ACK with incorrect CRC.

Modified:
  head/sys/netinet/sctp_output.c

Modified: head/sys/netinet/sctp_output.c
==============================================================================
--- head/sys/netinet/sctp_output.c	Sat Aug 28 21:06:13 2010	(r211949)
+++ head/sys/netinet/sctp_output.c	Sat Aug 28 21:15:00 2010	(r211950)
@@ -11001,9 +11001,12 @@ sctp_send_packet_dropped(struct sctp_tcb
 		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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008282115.o7SLF0Uf043670>