From 14714108891719cd4af97afba8c20ed7b9f5a0f4 Mon Sep 17 00:00:00 2001 From: arr Date: Thu, 13 Jun 2002 14:32:51 +0000 Subject: - Finish the uni part of the storage pool cleanup. There should now only be a few bits left to clean from the HARP code in terms of what is using the storage pools; once that's done, the memory management code can be removed entirely. This commit effectively changes the use of dynamic memory routines from atm_allocate, atm_free, atm_release_pool to uma_zcreate, uma_zalloc, uma_zfree, uma_zdestroy. --- sys/netatm/uni/sscop_lower.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netatm/uni/sscop_lower.c') diff --git a/sys/netatm/uni/sscop_lower.c b/sys/netatm/uni/sscop_lower.c index 615e5f1..6f25d57 100644 --- a/sys/netatm/uni/sscop_lower.c +++ b/sys/netatm/uni/sscop_lower.c @@ -357,7 +357,7 @@ sscop_term_all(sop, arg1, arg2) * Unlink and free the connection block */ UNLINK(sop, struct sscop, sscop_head, so_next); - atm_free((caddr_t)sop); + uma_zfree(sscop_zone, sop); sscop_vccnt--; return; } -- cgit v1.1