]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: loopback driver can use loopback_dev integrated net_device_stats
authorEric Dumazet <dada1@cosmosbay.com>
Tue, 10 Apr 2007 20:25:40 +0000 (13:25 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:28:52 +0000 (22:28 -0700)
commiteb165c64e0dafb6eba98aee2dde3544844437237
tree5f33e13e08849f94ef5d0529777fff73a72aea44
parentf59737a2da7aea97959132ce17c39511ded2a8a0
[NET]: loopback driver can use loopback_dev integrated net_device_stats

Rusty added a new 'stats' field to struct net_device.

loopback driver can use it instead of declaring another struct
net_device_stats This saves some memory.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/loopback.c