Home
last modified time | relevance | path

Searched hist:"2 dc4e9e88cfcc38454d52b01ed3422238c134003" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/sched/
H A Dact_ct.cdiff 2dc4e9e88cfcc38454d52b01ed3422238c134003 Sun Oct 17 06:58:51 CDT 2021 Paul Blakey <paulb@nvidia.com> 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>