commit | 77a1abf54f4b003ad6e59c535045b2ad89fedfeb | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Mon Mar 05 04:50:09 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 05 15:38:32 2012 -0500 |
tree | a76af8ea1df05266c70202e204dd639c38586334 | |
parent | ffcb97388b1d41b1db063eb041cb9af408662127 [diff] |
net: export netdev_stats_to_stats64 Some drivers use internal netdev stats member to store part of their stats, yet advertize ndo_get_stats64() to implement some 64bit fields. Allow them to use netdev_stats_to_stats64() helper to make the copy of netdev stats before they compute their 64bit counters. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>