dev: fix counter_start in counter clear routine 72/41072/1
authorMonendra Singh Kushwaha <[email protected]>
Thu, 16 May 2024 06:54:37 +0000 (12:24 +0530)
committerMonendra Singh Kushwaha <[email protected]>
Mon, 10 Jun 2024 18:49:48 +0000 (18:49 +0000)
commit2f93a43118a368d1e6f9d83237f94a5c3c639448
treedc14d9540d1a6de7404b69867589fc6751f503df
parent29ad53b9328a904ba98cf23b305149e89d54b916
dev: fix counter_start in counter clear routine

This patch fixes counter_start value, as it should hold the cumulative
counter value whenever counter clear routine is called.

Type: fix
Fixes: 38c619115b

Change-Id: I50bf8ddcde419caf1170dfacdea03ff3d93a3327
Signed-off-by: Monendra Singh Kushwaha <[email protected]>
(cherry picked from commit afd03ffff561b05ab5e9f4be8bfe5630283028ad)
src/vnet/dev/counters.c