slip: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Thu, 26 Aug 2010 22:12:08 +0000 (22:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Aug 2010 02:25:59 +0000 (19:25 -0700)
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>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found