From: Sridhar Samudrala Date: Tue, 27 Jun 2006 20:29:00 +0000 (-0700) Subject: [TCP]: Export accept queue len of a TCP listening socket via rx_queue X-Git-Tag: v2.6.18-rc1~321^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47da8ee681d04e68ca1b1812c10e28162150d453;p=pandora-kernel.git [TCP]: Export accept queue len of a TCP listening socket via rx_queue While debugging a TCP server hang issue, we noticed that currently there is no way for a user to get the acceptq backlog value for a TCP listen socket. All the standard networking utilities that display socket info like netstat, ss and /proc/net/tcp have 2 fields called rx_queue and tx_queue. These fields do not mean much for listening sockets. This patch uses one of these unused fields(rx_queue) to export the accept queue len for listening sockets. Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller --- Reading git-diff-tree failed