Re: [PATCH net-next] net: export netdev_stats_to_stats64

Eric Dumazet
2012-03-05T14:20:07Z

Le lundi 05 mars 2012 à 05:58 -0800, Eric Dumazet a écrit :
> 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.

Oh well, I forgot the include file in the commit, I'll send a v2