netdev-linux: Make netdev_set_policing coverage counter consistent with other counters.
authorPravin B Shelar <pshelar@nicira.com>
Mon, 5 Mar 2012 23:42:41 +0000 (15:42 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Mon, 5 Mar 2012 23:42:41 +0000 (15:42 -0800)
commitac8c341227872a5c88027b3c53411ba62677fbfd
tree8e9966010a21cbc458dd61ab9de2062ab0a00321
parent7be6d701fc9c42b23b503297a913d5c3fc23f867
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