diff options
author | Paul Blakey <paulb@nvidia.com> | 2021-10-17 14:58:51 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-18 13:31:58 +0100 |
commit | 2dc4e9e88cfcc38454d52b01ed3422238c134003 (patch) | |
tree | 4f06d9227897803e594dd7e5851243e82b0f17a4 /tools/perf/scripts/python | |
parent | 342afce10d6f61c443c95e244f812d4766f73f53 (diff) |
net/sched: act_ct: Fix byte count on fragmented packets
First fragmented packets (frag offset = 0) byte len is zeroed
when stolen by ip_defrag(). And since act_ct update the stats
only afterwards (at end of execute), bytes aren't correctly
accounted for such packets.
To fix this, move stats update to start of action execute.
Fixes: b57dc7c13ea9 ("net/sched: Introduce action ct")
Signed-off-by: Paul Blakey <paulb@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions