]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3e7a7d149311bc0ca21fa8cc326fa414654702bd
tree4b6098567a7f522792333d4bf30dc5676a507b9c
parent2100a07a31038ea8f20d4dc83b2ad2e3022612d0
ipv6: fix per device IP snmp counters

In commit e6c140ae4f4 (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