On Tue, May 17, 2016 at 4:38 PM, Jamal Hadi Salim <j...@mojatatu.com> wrote:
> diff --git a/net/sched/act_bpf.c b/net/sched/act_bpf.c
> index 014f9a6..f581e01 100644
> --- a/net/sched/act_bpf.c
> +++ b/net/sched/act_bpf.c
> @@ -156,6 +156,7 @@ static int tcf_bpf_dump(struct sk_buff *skb, struct 
> tc_action *act,
>
>         tm.install = jiffies_to_clock_t(jiffies - prog->tcf_tm.install);
>         tm.lastuse = jiffies_to_clock_t(jiffies - prog->tcf_tm.lastuse);
> +       tm.firstuse = jiffies_to_clock_t(jiffies - prog->tcf_tm.firstuse);
>         tm.expires = jiffies_to_clock_t(prog->tcf_tm.expires);


I think it is the time to add a wrapper for these tm.XX =
jiffies_to_clock_t(XXX).

Reply via email to