netdev-linux: Make netdev_set_policing coverage counter consistent with other counters.
authorPravin B Shelar <pshelar@nicira.com>
Mon, 5 Mar 2012 23:44:30 +0000 (15:44 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Mon, 5 Mar 2012 23:44:30 +0000 (15:44 -0800)
commit5d16a02100f9b7a1904a9f297501feae33eebfb1
tree8cc7b6680f9d687b1cd572db8e95a12f55ebc44d
parent83c9f1431267cb1f375bd9736684529cccccd5b3
netdev-linux: Make netdev_set_policing coverage counter consistent with other counters.

Most of coverage counters in netdev-linux are counting actual system
calls rather than reads from cached data.
Following patch fixes it by incrementing it after cache check.

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