[AF_UNIX]: Test against sk_max_ack_backlog properly.

This brings things inline with the sk_acceptq_is_full() bug
fix. The limit test should be x >= sk_max_ack_backlog.

Signed-off-by: David S. Miller <davem@davemloft.net>

+3 -3
+3 -3
net/unix/af_unix.c
··· 934 934 935 935 sched = !sock_flag(other, SOCK_DEAD) && 936 936 !(other->sk_shutdown & RCV_SHUTDOWN) && 937 - (skb_queue_len(&other->sk_receive_queue) > 937 + (skb_queue_len(&other->sk_receive_queue) >= 938 938 other->sk_max_ack_backlog); 939 939 940 940 unix_state_runlock(other); ··· 1008 1008 if (other->sk_state != TCP_LISTEN) 1009 1009 goto out_unlock; 1010 1010 1011 - if (skb_queue_len(&other->sk_receive_queue) > 1011 + if (skb_queue_len(&other->sk_receive_queue) >= 1012 1012 other->sk_max_ack_backlog) { 1013 1013 err = -EAGAIN; 1014 1014 if (!timeo) ··· 1381 1381 } 1382 1382 1383 1383 if (unix_peer(other) != sk && 1384 - (skb_queue_len(&other->sk_receive_queue) > 1384 + (skb_queue_len(&other->sk_receive_queue) >= 1385 1385 other->sk_max_ack_backlog)) { 1386 1386 if (!timeo) { 1387 1387 err = -EAGAIN;