Re: [PATCH net] net/sched: Fix update of lastuse in act modules implementing stats_update

2018-01-02 Thread David Miller
From: Roi Dayan Date: Tue, 26 Dec 2017 07:48:51 +0200 > 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

[PATCH net] net/sched: Fix update of lastuse in act modules implementing stats_update

2017-12-25 Thread Roi Dayan
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 lastu