ipv6: fix per device IP snmp counters
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 17 Jan 2012 12:45:36 +0000 (12:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jan 2012 04:56:18 +0000 (23:56 -0500)
commit766e9f1be128bcdc15aa7d07084d0d51e873b5ed
tree4b6098567a7f522792333d4bf30dc5676a507b9c
parent10ec1bb7e9eb462548f14dd53c73e927a3ddf31c
ipv6: fix per device IP snmp counters

In commit 4ce3c183fca (snmp: 64bit ipstats_mib for all arches), I forgot
to change the /proc/net/dev_snmp6/xxx output for IP counters.

percpu array is 64bit per counter but the folding still used the 'long'
variant, and output garbage on 32bit arches.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/proc.c