summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pflocal/socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pflocal/socket.c b/pflocal/socket.c
index 82ef26b6..a45bb475 100644
--- a/pflocal/socket.c
+++ b/pflocal/socket.c
@@ -40,9 +40,11 @@ static error_t
ensure_connq (struct sock *sock)
{
error_t err = 0;
+debug (sock, "lock");
mutex_lock (&sock->lock);
if (!sock->connq)
err = connq_create (&sock->connq);
+debug (sock, "unlock");
mutex_unlock (&sock->lock);
return err;
}