git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: snmp: fix the wrong ICMP_MIB_MAX value
[pandora-kernel.git]
/
include
/
net
/
snmp.h
diff --git
a/include/net/snmp.h
b/include/net/snmp.h
index
a0e6180
..
aebb553
100644
(file)
--- a/
include/net/snmp.h
+++ b/
include/net/snmp.h
@@
-61,8
+61,7
@@
struct ipstats_mib {
/* ICMP */
#define ICMP_MIB_DUMMY __ICMP_MIB_MAX
-#define ICMP_MIB_MAX (__ICMP_MIB_MAX + 1)
-
+#define ICMP_MIB_MAX __ICMP_MIB_MAX
struct icmp_mib {
unsigned long mibs[ICMP_MIB_MAX];
};