Deleted Added
full compact
30c30
< * $FreeBSD: head/sys/net/route.c 132780 2004-07-28 06:59:55Z kan $
---
> * $FreeBSD: head/sys/net/route.c 133513 2004-08-11 17:26:56Z andre $
49a50,51
> #include <vm/uma.h>
>
83a86,87
> static uma_zone_t rtzone; /* Routing table UMA zone. */
>
86a91,92
> rtzone = uma_zcreate("rtentry", sizeof(struct rtentry), NULL, NULL,
> NULL, NULL, UMA_ALIGN_PTR, 0);
295c301
< Free(rt);
---
> uma_zfree(rtzone, rt);
741c747
< R_Zalloc(rt, struct rtentry *, sizeof(*rt));
---
> rt = uma_zalloc(rtzone, M_NOWAIT | M_ZERO);
753c759
< Free(rt);
---
> uma_zfree(rtzone, rt);
813c819
< Free(rt);
---
> uma_zfree(rtzone, rt);