summaryrefslogtreecommitdiffstats
path: root/sys/netatm/atm_cm.c
diff options
context:
space:
mode:
authorarr <arr@FreeBSD.org>2002-04-22 05:11:44 +0000
committerarr <arr@FreeBSD.org>2002-04-22 05:11:44 +0000
commit9570c296c3ac817ab93aa035b91fc28606b26c70 (patch)
tree857e380ee6af9318cde75b6611884ede13fe5ef7 /sys/netatm/atm_cm.c
parentb2815166cb32c64d47e52596284d3a753b88d7d6 (diff)
downloadFreeBSD-src-9570c296c3ac817ab93aa035b91fc28606b26c70.zip
FreeBSD-src-9570c296c3ac817ab93aa035b91fc28606b26c70.tar.gz
- Change the atm_attributes_pool and atm_stackq_pool to be uma_zone's
(with the appropriate set_max) rather than using the HARP storage pool code.
Diffstat (limited to 'sys/netatm/atm_cm.c')
-rw-r--r--sys/netatm/atm_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatm/atm_cm.c b/sys/netatm/atm_cm.c
index f509f38..d83bf9c 100644
--- a/sys/netatm/atm_cm.c
+++ b/sys/netatm/atm_cm.c
@@ -709,7 +709,7 @@ atm_cm_listen(epp, token, ap, copp)
/*
* Get an attribute block and save listening attributes
*/
- cop->co_lattr = (Atm_attributes *)atm_allocate(&atm_attributes_pool);
+ cop->co_lattr = uma_zalloc(atm_attributes_zone, 0);
if (cop->co_lattr == NULL) {
err = ENOMEM;
goto done;
OpenPOWER on IntegriCloud