Date: Wed, 9 May 2012 14:58:19 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r235184 - stable/8/sys/netinet Message-ID: <201205091458.q49EwJvg088862@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Wed May 9 14:58:19 2012 New Revision: 235184 URL: http://svn.freebsd.org/changeset/base/235184 Log: MFC r234996: Call panic() only under INVARIANTS. Modified: stable/8/sys/netinet/sctp_crc32.c Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/netinet/sctp_crc32.c ============================================================================== --- stable/8/sys/netinet/sctp_crc32.c Wed May 9 14:55:17 2012 (r235183) +++ stable/8/sys/netinet/sctp_crc32.c Wed May 9 14:58:19 2012 (r235184) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205091458.q49EwJvg088862>