From: Roi Dayan <r...@mellanox.com> 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. > > 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 <r...@mellanox.com> > Reviewed-by: Paul Blakey <pa...@mellanox.com> > Acked-by: Jiri Pirko <j...@mellanox.com> Applied and queued up for -stable.