diff options
Diffstat (limited to 'sys/netatm/uni/uniarp_cache.c')
-rw-r--r-- | sys/netatm/uni/uniarp_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netatm/uni/uniarp_cache.c b/sys/netatm/uni/uniarp_cache.c index 69bd329..dbfe402 100644 --- a/sys/netatm/uni/uniarp_cache.c +++ b/sys/netatm/uni/uniarp_cache.c @@ -126,7 +126,7 @@ uniarp_cache_svc(uip, ip, atm, atmsub, origin) * If there aren't any entries yet, create one */ if ((ipuap == NULL) && (nouap == NULL)) { - ipuap = (struct uniarp *)atm_allocate(&uniarp_pool); + ipuap = uma_zalloc(uniarp_zone, M_WAITOK); if (ipuap == NULL) return (ENOMEM); ipuap->ua_dstip.s_addr = ip->s_addr; @@ -271,7 +271,7 @@ dataok: */ UNLINK(nouap, struct uniarp, uniarp_nomaptab, ua_next); UNIARP_CANCEL(nouap); - atm_free((caddr_t)nouap); + uma_zfree(uniarp_zone, nouap); } /* |