svn commit: r234403 - head/sys/net

Peter Jeremy peterjeremy at acm.org
Wed Apr 18 02:16:25 UTC 2012


On 2012-Apr-18 01:39:14 +0000, Andrew Thompson <thompsa at FreeBSD.org> wrote:
>Log:
>  Remove KASSERTS, they do not add any value here since the pointer is about to
>  be derefernced anyway.

Could you give a bit more background to this commit.  You get a crash in
both cases but the KASSERT() at least tells you which variable was NULL
without needing to trawl through the crashdump to find what caused the
NULL pointer dereference trap.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20120418/473a3aac/attachment.pgp


More information about the svn-src-head mailing list