diff options
| author | Andrew R. Reiter <arr@FreeBSD.org> | 2002-05-23 00:34:12 +0000 |
|---|---|---|
| committer | Andrew R. Reiter <arr@FreeBSD.org> | 2002-05-23 00:34:12 +0000 |
| commit | 2a6931421fcd3daf4d0075c62b4a83d30fcb51d5 (patch) | |
| tree | f14d51e27572377253b16062ce1be02fe996d96f /sys/netatm/ipatm/ipatm_if.c | |
| parent | 0f19b0d03a5bae41ddb3ca32c845e2e9fee89b90 (diff) | |
Notes
Diffstat (limited to 'sys/netatm/ipatm/ipatm_if.c')
| -rw-r--r-- | sys/netatm/ipatm/ipatm_if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netatm/ipatm/ipatm_if.c b/sys/netatm/ipatm/ipatm_if.c index b8111313d167..368655ab5f44 100644 --- a/sys/netatm/ipatm/ipatm_if.c +++ b/sys/netatm/ipatm/ipatm_if.c @@ -124,7 +124,7 @@ ipatm_nifstat(cmd, nip, arg) /* * Get a new interface block */ - inp = (struct ip_nif *)atm_allocate(&ipatm_nifpool); + inp = uma_zalloc(ipatm_nif_zone, M_WAITOK); if (inp == NULL) { err = ENOMEM; break; @@ -168,7 +168,7 @@ ipatm_nifstat(cmd, nip, arg) * Clean up and free block */ UNLINK(inp, struct ip_nif, ipatm_nif_head, inf_next); - atm_free((caddr_t)inp); + uma_zfree(ipatm_nif_zone, inp); break; case NCM_SETADDR: |
