svn commit: r231028 - stable/9/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sun Feb 5 18:16:39 UTC 2012


Author: tuexen
Date: Sun Feb  5 18:16:38 2012
New Revision: 231028
URL: http://svn.freebsd.org/changeset/base/231028

Log:
  MFC r228102:
  Remove debug code.

Modified:
  stable/9/sys/netinet/sctp_pcb.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/9/sys/netinet/sctp_pcb.c	Sun Feb  5 17:37:26 2012	(r231027)
+++ stable/9/sys/netinet/sctp_pcb.c	Sun Feb  5 18:16:38 2012	(r231028)
@@ -6918,11 +6918,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)
 {
@@ -7027,8 +7022,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-stable-9 mailing list