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

Michael Tuexen tuexen at FreeBSD.org
Sat Feb 11 00:46:07 UTC 2012


Author: tuexen
Date: Sat Feb 11 00:46:06 2012
New Revision: 231486
URL: http://svn.freebsd.org/changeset/base/231486

Log:
  MFC r228102:
  Remove debug code.

Modified:
  stable/8/sys/netinet/sctp_pcb.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/boot/   (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/e1000/   (props changed)

Modified: stable/8/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/8/sys/netinet/sctp_pcb.c	Sat Feb 11 00:28:30 2012	(r231485)
+++ stable/8/sys/netinet/sctp_pcb.c	Sat Feb 11 00:46:06 2012	(r231486)
@@ -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-all mailing list