aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2004-11-02 17:15:13 +0000
committerRobert Watson <rwatson@FreeBSD.org>2004-11-02 17:15:13 +0000
commitaae2782bffd67e6a83798674c40b264f4b161496 (patch)
tree32a8c4821b824fb950d6820adb5d88c5ade2b57c /sys
parent26105004c31d0ed22bd69eea5ea628cea17b47fc (diff)
Notes
Diffstat (limited to 'sys')
-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 3a9fd2fa6820b..9a2c0e310cd75 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -490,6 +490,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;