diff options
Diffstat (limited to 'sys/netinet/ip_divert.c')
-rw-r--r-- | sys/netinet/ip_divert.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c index dc9b049..4eddf3a 100644 --- a/sys/netinet/ip_divert.c +++ b/sys/netinet/ip_divert.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ip_divert.c,v 1.19 1998/02/04 22:33:06 eivind Exp $ + * $Id: ip_divert.c,v 1.20 1998/02/06 12:13:50 eivind Exp $ */ #include "opt_inet.h" @@ -47,6 +47,7 @@ #include <sys/socketvar.h> #include <sys/systm.h> #include <sys/proc.h> +#include <vm/vm_zone.h> #include <net/if.h> #include <net/route.h> @@ -116,6 +117,8 @@ div_init(void) */ divcbinfo.hashbase = hashinit(1, M_PCB, &divcbinfo.hashmask); divcbinfo.porthashbase = hashinit(1, M_PCB, &divcbinfo.porthashmask); + divcbinfo.ipi_zone = zinit("divcb", sizeof(struct inpcb), + nmbclusters/4, ZONE_INTERRUPT, 0); } /* |