svn commit: r214463 - stable/8/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Thu Oct 28 17:00:32 UTC 2010


Author: tuexen
Date: Thu Oct 28 17:00:31 2010
New Revision: 214463
URL: http://svn.freebsd.org/changeset/base/214463

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

Modified:
  stable/8/sys/netinet/sctp_output.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/netinet/sctp_output.c
==============================================================================
--- stable/8/sys/netinet/sctp_output.c	Thu Oct 28 16:58:12 2010	(r214462)
+++ stable/8/sys/netinet/sctp_output.c	Thu Oct 28 17:00:31 2010	(r214463)
@@ -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;


More information about the svn-src-stable-8 mailing list