net sched actions: introduce timestamp for firsttime use
Useful to know when the action was first used for accounting (and debugging) Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
9c4a4e488b
commit
53eb440f4a
@@ -283,6 +283,7 @@ err2:
|
||||
p->tcfc_index = index ? index : tcf_hash_new_index(tn);
|
||||
p->tcfc_tm.install = jiffies;
|
||||
p->tcfc_tm.lastuse = jiffies;
|
||||
p->tcfc_tm.firstuse = 0;
|
||||
if (est) {
|
||||
err = gen_new_estimator(&p->tcfc_bstats, p->cpu_bstats,
|
||||
&p->tcfc_rate_est,
|
||||
|
Reference in New Issue
Block a user