summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-01-21 22:23:11 +0000
committerdes <des@FreeBSD.org>2001-01-21 22:23:11 +0000
commitb3c27aaaf71f80f39e0bc2196f9a32b99656179f (patch)
treeb72f07724b85554241dfdc306867216a196d0604 /sys/netinet6
parentc26d01c0b9838b42bdfb45af2319827fc2a5cd75 (diff)
downloadFreeBSD-src-b3c27aaaf71f80f39e0bc2196f9a32b99656179f.zip
FreeBSD-src-b3c27aaaf71f80f39e0bc2196f9a32b99656179f.tar.gz
First step towards an MP-safe zone allocator:
- have zalloc() and zfree() always lock the vm_zone. - remove zalloci() and zfreei(), which are now redundant. Reviewed by: bmilekic, jasone
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6_pcb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/in6_pcb.c b/sys/netinet6/in6_pcb.c
index bc7b0cd..67409be 100644
--- a/sys/netinet6/in6_pcb.c
+++ b/sys/netinet6/in6_pcb.c
@@ -624,7 +624,7 @@ in6_pcbdetach(inp)
ip_freemoptions(inp->inp_moptions);
inp->inp_vflag = 0;
- zfreei(ipi->ipi_zone, inp);
+ zfree(ipi->ipi_zone, inp);
}
/*
OpenPOWER on IntegriCloud