diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index fb31e8a4409ed979e4443e7d3d392a5e0f2c424b..08102e728b150c0ad3b7035f2dc68480d6d3de53 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -1442,7 +1442,7 @@ static long unix_wait_for_peer(struct sock *other, long timeo) sched = !sock_flag(other, SOCK_DEAD) && !(other->sk_shutdown & RCV_SHUTDOWN) && - unix_recvq_full(other); + unix_recvq_full_lockless(other); unix_state_unlock(other);