From owner-svn-src-stable-9@FreeBSD.ORG Wed May 9 13:47:21 2012 Return-Path: Delivered-To: svn-src-stable-9@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC1CC106566B; Wed, 9 May 2012 13:47:21 +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 9706B8FC0C; Wed, 9 May 2012 13:47:21 +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 q49DlLMO085568; Wed, 9 May 2012 13:47:21 GMT (envelope-from tuexen@svn.freebsd.org) Received: (from tuexen@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q49DlLIM085566; Wed, 9 May 2012 13:47:21 GMT (envelope-from tuexen@svn.freebsd.org) Message-Id: <201205091347.q49DlLIM085566@svn.freebsd.org> From: Michael Tuexen Date: Wed, 9 May 2012 13:47:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r235165 - stable/9/sys/netinet X-BeenThere: svn-src-stable-9@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 9-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2012 13:47:21 -0000 Author: tuexen Date: Wed May 9 13:47:21 2012 New Revision: 235165 URL: http://svn.freebsd.org/changeset/base/235165 Log: MFC r234996: Call panic() only under INVARIANTS. Modified: stable/9/sys/netinet/sctp_crc32.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/netinet/sctp_crc32.c ============================================================================== --- stable/9/sys/netinet/sctp_crc32.c Wed May 9 13:42:52 2012 (r235164) +++ stable/9/sys/netinet/sctp_crc32.c Wed May 9 13:47:21 2012 (r235165) @@ -124,7 +124,9 @@ void sctp_delayed_cksum(struct mbuf *m, uint32_t offset) { #if defined(SCTP_WITH_NO_CSUM) +#ifdef INVARIANTS panic("sctp_delayed_cksum() called when using no SCTP CRC."); +#endif #else uint32_t checksum;