summaryrefslogtreecommitdiffstats
path: root/sys/netatm/uni/uniip.c
diff options
context:
space:
mode:
authorarr <arr@FreeBSD.org>2002-04-19 17:45:22 +0000
committerarr <arr@FreeBSD.org>2002-04-19 17:45:22 +0000
commit122c24db48374dee47cf7a553f344ff0a6aee1e9 (patch)
treec3e1adf80f94ef52147a4d2fc164dab32797d93d /sys/netatm/uni/uniip.c
parent1482903ceafd6c259928760686a1a308932b4d7c (diff)
downloadFreeBSD-src-122c24db48374dee47cf7a553f344ff0a6aee1e9.zip
FreeBSD-src-122c24db48374dee47cf7a553f344ff0a6aee1e9.tar.gz
- Change KM_ macro calls to the appropriate function call.
- Nuke KM_ macros from port.h This is a leadin step towards cleaning up this code as I wait for some ATM cards and a ATM switch to arrive.
Diffstat (limited to 'sys/netatm/uni/uniip.c')
-rw-r--r--sys/netatm/uni/uniip.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netatm/uni/uniip.c b/sys/netatm/uni/uniip.c
index e9d11c6..6054166 100644
--- a/sys/netatm/uni/uniip.c
+++ b/sys/netatm/uni/uniip.c
@@ -261,10 +261,8 @@ uniip_ipdact(inp)
*/
UNLINK(uip, struct uniip, uniip_head, uip_next);
if (uip->uip_prefix != NULL)
- KM_FREE(uip->uip_prefix,
- uip->uip_nprefix * sizeof(struct uniarp_prf), M_DEVBUF);
+ free(uip->uip_prefix, M_DEVBUF);
atm_free((caddr_t)uip);
-
return (0);
}
OpenPOWER on IntegriCloud