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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to