Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/kern/subr_pool.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/kern/subr_pool.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.171 retrieving revision 1.172 diff -u -p -r1.171 -r1.172 --- src/sys/kern/subr_pool.c 2008/11/11 16:13:03 1.171 +++ src/sys/kern/subr_pool.c 2009/04/15 11:45:18 1.172 @@ -1,4 +1,4 @@ -/* $NetBSD: subr_pool.c,v 1.171 2008/11/11 16:13:03 ad Exp $ */ +/* $NetBSD: subr_pool.c,v 1.172 2009/04/15 11:45:18 yamt Exp $ */ /*- * Copyright (c) 1997, 1999, 2000, 2002, 2007, 2008 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.171 2008/11/11 16:13:03 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.172 2009/04/15 11:45:18 yamt Exp $"); #include "opt_ddb.h" #include "opt_pool.h" @@ -2621,6 +2621,7 @@ pool_cache_put_paddr(pool_cache_t pc, vo pcg_t *pcg; int s; + KASSERT(object != NULL); FREECHECK_IN(&pc->pc_freecheck, object); /* Lock out interrupts and disable preemption. */