Skip to content

Commit fda3f40

Browse files
NicolasDichteldavem330
authored andcommitted
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>
1 parent fb68e2f commit fda3f40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎net/ipv6/proc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ static const struct snmp_mib snmp6_ipstats_list[] = {
9090
SNMP_MIB_ITEM("Ip6OutMcastOctets", IPSTATS_MIB_OUTMCASTOCTETS),
9191
SNMP_MIB_ITEM("Ip6InBcastOctets", IPSTATS_MIB_INBCASTOCTETS),
9292
SNMP_MIB_ITEM("Ip6OutBcastOctets", IPSTATS_MIB_OUTBCASTOCTETS),
93-
SNMP_MIB_ITEM("InCsumErrors", IPSTATS_MIB_CSUMERRORS),
93+
/* IPSTATS_MIB_CSUMERRORS is not relevant in IPv6 (no checksum) */
9494
SNMP_MIB_SENTINEL
9595
};
9696

0 commit comments

Comments
 (0)