diff options
| author | Jeffrey Hsu <hsu@FreeBSD.org> | 2002-04-08 03:04:22 +0000 |
|---|---|---|
| committer | Jeffrey Hsu <hsu@FreeBSD.org> | 2002-04-08 03:04:22 +0000 |
| commit | 20504246d8ff99155d1a644d96c27f0cb2b67da8 (patch) | |
| tree | 2f50d9602f6a425b0371476b26a36ad83990eb2a /sys/kern/uipc_socket.c | |
| parent | a553d4b8ebbfb2cda9d7bf4a437948cad238e16d (diff) | |
Notes
Diffstat (limited to 'sys/kern/uipc_socket.c')
| -rw-r--r-- | sys/kern/uipc_socket.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index 3c1adf831ac0..6c68a7935558 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -129,7 +129,6 @@ soalloc(waitok) /* XXX race condition for reentrant kernel */ bzero(so, sizeof *so); so->so_gencnt = ++so_gencnt; - so->so_zone = socket_zone; /* sx_init(&so->so_sxlock, "socket sxlock"); */ TAILQ_INIT(&so->so_aiojobq); ++numopensockets; @@ -230,7 +229,7 @@ sodealloc(struct socket *so) #endif crfree(so->so_cred); /* sx_destroy(&so->so_sxlock); */ - uma_zfree(so->so_zone, so); + uma_zfree(socket_zone, so); --numopensockets; } |
