From owner-svn-src-head@FreeBSD.ORG Mon Nov 28 20:48:35 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77A34106564A; Mon, 28 Nov 2011 20:48:35 +0000 (UTC) (envelope-from tuexen@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 672BD8FC1B; Mon, 28 Nov 2011 20:48:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pASKmZl7008655; Mon, 28 Nov 2011 20:48:35 GMT (envelope-from tuexen@svn.freebsd.org) Received: (from tuexen@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pASKmZro008653; Mon, 28 Nov 2011 20:48:35 GMT (envelope-from tuexen@svn.freebsd.org) Message-Id: <201111282048.pASKmZro008653@svn.freebsd.org> From: Michael Tuexen Date: Mon, 28 Nov 2011 20:48:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r228102 - head/sys/netinet X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2011 20:48:35 -0000 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