aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorRoi Dayan <[email protected]>2017-12-26 07:48:51 +0200
committerDavid S. Miller <[email protected]>2018-01-02 13:27:52 -0500
commit3bb23421a504f01551b7cb9dff0e41dbf16656b0 (patch)
treebbc7599fe5e42c5f0717e752a024259c7bd464f6 /tools/perf/scripts/python/net_dropmonitor.py
parent90045fc9c78855bdc625a0ab185d97b72a937613 (diff)
net/sched: Fix update of lastuse in act modules implementing stats_update
We need to update lastuse to to the most updated value between what is already set and the new value. If HW matching fails, i.e. because of an issue, the stats are not updated but it could be that software did match and updated lastuse. Fixes: 5712bf9c5c30 ("net/sched: act_mirred: Use passed lastuse argument") Fixes: 9fea47d93bcc ("net/sched: act_gact: Update statistics when offloaded to hardware") Signed-off-by: Roi Dayan <[email protected]> Reviewed-by: Paul Blakey <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions