diff options
author | 2023-02-16 12:34:21 +0000 | |
---|---|---|
committer | 2023-03-15 15:50:17 -0700 | |
commit | d1a0075ad6b693c2bd41e7aedb8a4f3b74b6999c (patch) | |
tree | 6b960fd7acd4b528c0602c1a664a0b3b182eb4b8 /scripts/generate_rust_analyzer.py | |
parent | net/mlx5e: Lower maximum allowed MTU in XSK to match XDP prerequisites (diff) | |
download | wireguard-linux-d1a0075ad6b693c2bd41e7aedb8a4f3b74b6999c.tar.xz wireguard-linux-d1a0075ad6b693c2bd41e7aedb8a4f3b74b6999c.zip |
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 <ozsh@nvidia.com>
Reviewed-by: Paul Blakey <paulb@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions