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

David Miller
2010-08-28T02:26:03Z

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Fri, 27 Aug 2010 10:28:13 +0200

> 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>

Applied, thanks everyone.