svn commit: r228102 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Mon Nov 28 20:48:35 UTC 2011


Author: tuexen
Date: Mon Nov 28 20:48:35 2011
New Revision: 228102
URL: http://svn.freebsd.org/changeset/base/228102

Log:
  Remove debug code.
  
  MFC after: 1 month.

Modified:
  head/sys/netinet/sctp_pcb.c

Modified: head/sys/netinet/sctp_pcb.c
==============================================================================
--- head/sys/netinet/sctp_pcb.c	Mon Nov 28 20:43:50 2011	(r228101)
+++ head/sys/netinet/sctp_pcb.c	Mon Nov 28 20:48:35 2011	(r228102)
@@ -6895,11 +6895,6 @@ skip_vtag_check:
 	return (1);
 }
 
-
-static sctp_assoc_t reneged_asoc_ids[256];
-static uint8_t reneged_at = 0;
-
-
 static void
 sctp_drain_mbufs(struct sctp_inpcb *inp, struct sctp_tcb *stcb)
 {
@@ -7004,8 +6999,6 @@ sctp_drain_mbufs(struct sctp_inpcb *inp,
 		/* sa_ignore NO_NULL_CHK */
 		sctp_send_sack(stcb, SCTP_SO_NOT_LOCKED);
 		sctp_chunk_output(stcb->sctp_ep, stcb, SCTP_OUTPUT_FROM_DRAIN, SCTP_SO_NOT_LOCKED);
-		reneged_asoc_ids[reneged_at] = sctp_get_associd(stcb);
-		reneged_at++;
 	}
 	/*
 	 * Another issue, in un-setting the TSN's in the mapping array we


More information about the svn-src-head mailing list