diff options
author | Alexander Duyck <alexander.h.duyck@redhat.com> | 2015-05-14 14:31:28 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-14 22:30:54 -0400 |
commit | c24a59649f3c8f4f78adc2d0e31423fa883b012b (patch) | |
tree | 84ab803b6f882074ea8e20fa81020e83e86c6f76 /lib | |
parent | 54d7c01d3ed699cfc213115eaecfe1175cfaff8f (diff) |
ip_tunnel: Report Rx dropped in ip_tunnel_get_stats64
The rx_dropped stat wasn't being reported when ip_tunnel_get_stats64 was
called. This was leading to some confusing results in my debug as I was
seeing rx_errors increment but no other value which pointed me toward the
type of error being seen.
This change corrects that by using netdev_stats_to_stats64 to copy all
available dev stats instead of just the few that were hand picked.
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions