Re: [PATCH v3] slip: Use net_device_stats from struct net_device

Eric Dumazet
2010-08-27T08:28:18Z

Le vendredi 27 août 2010 à 10:12 +0200, Tobias Klauser a écrit :
> Use net_device->stats for stats instead of private variable copies in
> struct slip. Use ndo_get_stat64 so the additions can be performed on a private
> destination buffer.
>
> Cc: Eric Dumazet <eric.dumazet@gmail.com>
> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
> ---
> drivers/net/slip.c | 61 ++++++++++++++++++++++++++-------------------------
> drivers/net/slip.h | 9 -------
> 2 files changed, 31 insertions(+), 39 deletions(-)
>

Acked-by: Eric Dumazet <eric.dumazet@gmail.com>

Thanks Tobias !