summaryrefslogtreecommitdiff
path: root/include/linux/snmp.h
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2010-12-08 12:16:33 -0800
committerDavid S. Miller <davem@davemloft.net>2010-12-08 12:16:33 -0800
commit67631510a318d5a930055fe927607f483716e100 (patch)
treefd98bd3ab939a22188c72d4371c263af2d756192 /include/linux/snmp.h
parent171995e5d82dcc92bea37a7d2a2ecc21068a0f19 (diff)
downloadlinux-stable-67631510a318d5a930055fe927607f483716e100.tar.gz
linux-stable-67631510a318d5a930055fe927607f483716e100.tar.bz2
linux-stable-67631510a318d5a930055fe927607f483716e100.zip
tcp: Replace time wait bucket msg by counter
Rather than printing the message to the log, use a mib counter to keep track of the count of occurences of time wait bucket overflow. Reduces spam in logs. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/snmp.h')
-rw-r--r--include/linux/snmp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/snmp.h b/include/linux/snmp.h
index ebb0c80ffd6e..12b2b18e50c1 100644
--- a/include/linux/snmp.h
+++ b/include/linux/snmp.h
@@ -230,6 +230,7 @@ enum
LINUX_MIB_TCPMINTTLDROP, /* RFC 5082 */
LINUX_MIB_TCPDEFERACCEPTDROP,
LINUX_MIB_IPRPFILTER, /* IP Reverse Path Filter (rp_filter) */
+ LINUX_MIB_TCPTIMEWAITOVERFLOW, /* TCPTimeWaitOverflow */
__LINUX_MIB_MAX
};