mirror of https://gitee.com/openkylin/linux.git
snmp6: remove IPSTATS_MIB_CSUMERRORS
This stat is not relevant in IPv6, there is no checksum in IPv6 header. Just leave a comment to explain the hole. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
fb68e2f438
commit
fda3f402f4
|
@ -90,7 +90,7 @@ static const struct snmp_mib snmp6_ipstats_list[] = {
|
|||
SNMP_MIB_ITEM("Ip6OutMcastOctets", IPSTATS_MIB_OUTMCASTOCTETS),
|
||||
SNMP_MIB_ITEM("Ip6InBcastOctets", IPSTATS_MIB_INBCASTOCTETS),
|
||||
SNMP_MIB_ITEM("Ip6OutBcastOctets", IPSTATS_MIB_OUTBCASTOCTETS),
|
||||
SNMP_MIB_ITEM("InCsumErrors", IPSTATS_MIB_CSUMERRORS),
|
||||
/* IPSTATS_MIB_CSUMERRORS is not relevant in IPv6 (no checksum) */
|
||||
SNMP_MIB_SENTINEL
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue