Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2016 18:58:20 +0200
From:      Michael Tuexen <tuexen@freebsd.org>
To:        Ian Lepore <ian@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r298199 - head/sys/netinet
Message-ID:  <B6213F78-613D-4B03-9414-65E43782A18A@freebsd.org>
In-Reply-To: <1460992202.52955.49.camel@freebsd.org>
References:  <201604180929.u3I9TEA3095105@repo.freebsd.org> <1460992202.52955.49.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 18 Apr 2016, at 17:10, Ian Lepore <ian@FreeBSD.org> wrote:
> 
> On Mon, 2016-04-18 at 09:29 +0000, Michael Tuexen wrote:
>> Author: tuexen
>> Date: Mon Apr 18 09:29:14 2016
>> New Revision: 298199
>> URL: https://svnweb.freebsd.org/changeset/base/298199
>> 
>> Log:
>>  Put panic() calls under INVARIANTS.
>> 
> 
> A panic that's only active when INVARIANTS is defined is usually
> spelled KASSERT.
OK. The change happens because when using the code in the userland
SCTP stack, we don't provide a panic() replacement unless we
compile the INVARIANTS defined. Therefore I catch this when compiling
the userland stack...

Best regards
Michael
> 
> -- Ian
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B6213F78-613D-4B03-9414-65E43782A18A>