svn commit: r298199 - head/sys/netinet
Ian Lepore
ian at freebsd.org
Mon Apr 18 17:48:41 UTC 2016
On Mon, 2016-04-18 at 18:58 +0200, Michael Tuexen wrote:
> > 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
> >
Ahh, no KASSERT in userland, thanks. I probably could have figured
that out for myself if I had put a bit of effort into looking.
-- Ian
More information about the svn-src-head
mailing list