|
@@ -239,7 +239,7 @@ static void tcf_stats_update(struct tc_action *a, u64 bytes, u32 packets,
|
|
|
struct tcf_t *tm = &m->tcf_tm;
|
|
|
|
|
|
_bstats_cpu_update(this_cpu_ptr(a->cpu_bstats), bytes, packets);
|
|
|
- tm->lastuse = lastuse;
|
|
|
+ tm->lastuse = max_t(u64, tm->lastuse, lastuse);
|
|
|
}
|
|
|
|
|
|
static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind,
|