netdev-linux: Fix stats for ovs internal device.
authorPravin B Shelar <pshelar@nicira.com>
Wed, 29 Feb 2012 22:13:11 +0000 (14:13 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Wed, 29 Feb 2012 22:13:11 +0000 (14:13 -0800)
commite87f6fae98d30c9b06b16cef5dd1224023e5bd64
tree1b283c42f46154d87c344be3d647d62923cc7391
parent721f283d5c9aba8f405840476f309320754cb9c8
netdev-linux: Fix stats for ovs internal device.

There is no need to retrieve linux system stats for internal devices
as all relevant stats for virtual device like internal device are
already reported by OVS over vport-stats. As a result it also fixes
error stats for internal-devices as they are not counted twice.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
lib/netdev-linux.c