bridge: Use on-device stats instead of private ones.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 21 May 2008 21:13:47 +0000 (14:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 May 2008 21:13:47 +0000 (14:13 -0700)
commita339f1c881fdb8092ef9b118610307e10e885fc8
tree117feec8162165b577d7030262da66e8ac6a5e83
parent96e74088f1da4d9a53735a4a57a4f984f86b75c6
bridge: Use on-device stats instead of private ones.

Even though bridges require 6 fields from struct net_device_stats,
the on-device stats are always there, so we may just use them.

The br_dev_get_stats is no longer required after this.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c
net/bridge/br_forward.c
net/bridge/br_input.c
net/bridge/br_private.h