diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-02-25 04:53:17 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-02-25 04:53:17 +0000 |
commit | f7848364f2a1ee9cef20b19f1396e5796a1b5c6f (patch) | |
tree | 81fc6f5369cf786c5f1cd932eddbdf58dfa6c64b /sys/kern/uipc_mbuf.c | |
parent | 0f17b0b30f9e5187cb51ca2a7a7d427e5f66a350 (diff) |
Make pool_sethardlimit() check that it doesn't decrease the limit below
the current size of the pool. ok art@
Diffstat (limited to 'sys/kern/uipc_mbuf.c')
-rw-r--r-- | sys/kern/uipc_mbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index 6a913bb0e98..8aaddd83194 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_mbuf.c,v 1.55 2002/02/17 22:59:53 maja Exp $ */ +/* $OpenBSD: uipc_mbuf.c,v 1.56 2002/02/25 04:53:16 dhartmei Exp $ */ /* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */ /* @@ -130,7 +130,7 @@ mbinit() * mbuf clusters the kernel is to support. Log the limit * reached message max once a minute. */ - pool_sethardlimit(&mclpool, nmbclust, mclpool_warnmsg, 60); + (void)pool_sethardlimit(&mclpool, nmbclust, mclpool_warnmsg, 60); /* * Set a low water mark for both mbufs and clusters. This should |