diff options
author | Oz Shlomo <[email protected]> | 2023-02-16 12:34:21 +0000 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2023-03-15 15:50:17 -0700 |
commit | d1a0075ad6b693c2bd41e7aedb8a4f3b74b6999c (patch) | |
tree | 6b960fd7acd4b528c0602c1a664a0b3b182eb4b8 /drivers/usb/cdns3/cdns3-imx.c | |
parent | 78dee7befd56987283c13877b834c0aa97ad51b9 (diff) |
net/sched: TC, fix raw counter initialization
Freed counters may be reused by fs core.
As such, raw counters may not be initialized to zero.
Cache the counter values when the action stats object is initialized to
have a proper base value for calculating the difference from the previous
query.
Fixes: 2b68d659a704 ("net/mlx5e: TC, support per action stats")
Signed-off-by: Oz Shlomo <[email protected]>
Reviewed-by: Paul Blakey <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions