net sched actions: introduce timestamp for firsttime use
[cascardo/linux.git] / net / sched / act_ipt.c
index 30e9087..47525ee 100644 (file)
@@ -279,6 +279,7 @@ static int tcf_ipt_dump(struct sk_buff *skb, struct tc_action *a, int bind, int
                goto nla_put_failure;
        tm.install = jiffies_to_clock_t(jiffies - ipt->tcf_tm.install);
        tm.lastuse = jiffies_to_clock_t(jiffies - ipt->tcf_tm.lastuse);
+       tm.firstuse = jiffies_to_clock_t(jiffies - ipt->tcf_tm.firstuse);
        tm.expires = jiffies_to_clock_t(ipt->tcf_tm.expires);
        if (nla_put_64bit(skb, TCA_IPT_TM, sizeof(tm), &tm, TCA_IPT_PAD))
                goto nla_put_failure;