net: core: add IFLA_STATS64 support
authorJan Engelhardt <jengelh@medozas.de>
Thu, 11 Mar 2010 09:57:29 +0000 (09:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Mar 2010 04:23:22 +0000 (21:23 -0700)
commit10708f37ae729baba9b67bd134c3720709d4ae62
treefa3e20c31e7d6907668d45eee702d02d646cae8f
parent6ce1a6df6efbbeaa262a225a1a439ebc30a75d2e
net: core: add IFLA_STATS64 support

`ip -s link` shows interface counters truncated to 32 bit. This is
because interface statistics are transported only in 32-bit quantity
to userspace. This commit adds a new IFLA_STATS64 attribute that
exports them in full 64 bit.

References: http://lkml.indiana.edu/hypermail/linux/kernel/0307.3/0215.html
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_link.h
net/core/rtnetlink.c