diff options
author | Jamal Hadi Salim <jhs@mojatatu.com> | 2016-06-06 10:32:53 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-07 22:53:43 (GMT) |
commit | 9c4a4e488bc8f55dfc8782c7d7757fb058e9088e (patch) | |
tree | 65f5bb1d08926ba42e05f051257ca5d9a7181dee /net/sched/act_nat.c | |
parent | e69985c67c33f1d981a87986237366e83a8f0e13 (diff) | |
download | linux-9c4a4e488bc8f55dfc8782c7d7757fb058e9088e.tar.xz |
net sched: actions use tcf_lastuse_update for consistency
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_nat.c')
-rw-r--r-- | net/sched/act_nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_nat.c b/net/sched/act_nat.c index c0a879f..9135aa8 100644 --- a/net/sched/act_nat.c +++ b/net/sched/act_nat.c @@ -103,7 +103,7 @@ static int tcf_nat(struct sk_buff *skb, const struct tc_action *a, spin_lock(&p->tcf_lock); - p->tcf_tm.lastuse = jiffies; + tcf_lastuse_update(&p->tcf_tm); old_addr = p->old_addr; new_addr = p->new_addr; mask = p->mask; |