diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index e79c329427964d689522dc20c0e109e362f19650..0b2d466fb85855415b1b9e4bc304f7f7287db747 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -1232,7 +1232,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);