svn commit: r298199 - head/sys/netinet

Michael Tuexen tuexen at freebsd.org
Mon Apr 18 16:58:24 UTC 2016


> On 18 Apr 2016, at 17:10, Ian Lepore <ian at 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
> 



More information about the svn-src-head mailing list