Re: Fix bugs in Whether sock accept queue is full checking

2007-03-02 Thread David Miller
From: weidong [EMAIL PROTECTED] Date: Wed, 14 Feb 2007 11:30:57 -0500 diff -ruN old/include/net/sock.h new/include/net/sock.h --- old/include/net/sock.h2007-02-03 08:38:21.0 -0500 +++ new/include/net/sock.h2007-02-03 08:38:30.0 -0500 @@ -426,7 +426,7 @@ static

Re: Fix bugs in Whether sock accept queue is full checking

2007-02-22 Thread David Miller
From: weidong [EMAIL PROTECTED] Date: Wed, 14 Feb 2007 11:30:57 -0500 when I use linux TCP socket, and find there is a bug in function sk_acceptq_is_full(). ... Consider an example: After listen(sockfd, 1) system call, sk-sk_max_ack_backlog is set to 1. As we know,

Re: Fix bugs in Whether sock accept queue is full checking

2007-02-22 Thread Vlad Yasevich
David Miller wrote: From: weidong [EMAIL PROTECTED] Date: Wed, 14 Feb 2007 11:30:57 -0500 when I use linux TCP socket, and find there is a bug in function sk_acceptq_is_full(). ... Consider an example: After listen(sockfd, 1) system call, sk-sk_max_ack_backlog is set to 1. As we

Fix bugs in Whether sock accept queue is full checking

2007-02-14 Thread weidong
Hi, All when I use linux TCP socket, and find there is a bug in function sk_acceptq_is_full(). When a new SYN comes, TCP module first checks its validation. If valid, send SYN,ACK to the client and add the sock to the syn hash table. Next time if received the valid ACK for