diff options
author | arr <arr@FreeBSD.org> | 2002-04-22 05:11:44 +0000 |
---|---|---|
committer | arr <arr@FreeBSD.org> | 2002-04-22 05:11:44 +0000 |
commit | 9570c296c3ac817ab93aa035b91fc28606b26c70 (patch) | |
tree | 857e380ee6af9318cde75b6611884ede13fe5ef7 /sys/netatm/atm_cm.c | |
parent | b2815166cb32c64d47e52596284d3a753b88d7d6 (diff) | |
download | FreeBSD-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.c | 2 |
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; |