aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2004-11-04 01:17:31 +0000
committerRobert Watson <rwatson@FreeBSD.org>2004-11-04 01:17:31 +0000
commit80083f9e6f69e10f85fb1db8cd57835025dd58a1 (patch)
tree2c61ffec7532eaa056d577f4445e5d1b7b2a45ee
parentaea51f27c2363610d94f8e69300785b28501bac0 (diff)
Notes
-rw-r--r--sys/kern/uipc_socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index 1a74cffdd27a..1ed2261bbdd4 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -489,6 +489,7 @@ soabort(so)
error = (*so->so_proto->pr_usrreqs->pru_abort)(so);
if (error) {
+ ACCEPT_LOCK();
SOCK_LOCK(so);
sotryfree(so); /* note: does not decrement the ref count */
return error;