From: Eric Dumazet Date: Sun, 7 Mar 2010 23:21:57 +0000 (+0000) Subject: tcp: Add SNMP counters for backlog and min_ttl drops X-Git-Tag: v2.6.34-rc2~48^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cce09f87a04797fae5b947ef2626c14a78f0b49;p=pandora-kernel.git tcp: Add SNMP counters for backlog and min_ttl drops Commit 6b03a53a (tcp: use limited socket backlog) added the possibility of dropping frames when backlog queue is full. Commit d218d111 (tcp: Generalized TTL Security Mechanism) added the possibility of dropping frames when TTL is under a given limit. This patch adds new SNMP MIB entries, named TCPBacklogDrop and TCPMinTTLDrop, published in /proc/net/netstat in TcpExt: line netstat -s | egrep "TCPBacklogDrop|TCPMinTTLDrop" TCPBacklogDrop: 0 TCPMinTTLDrop: 0 Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed