aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/act_ipt.c
diff options
context:
space:
mode:
authorJamal Hadi Salim <jhs@mojatatu.com>2016-06-06 06:32:53 -0400
committerDavid S. Miller <davem@davemloft.net>2016-06-07 15:53:43 -0700
commit9c4a4e488bc8f55dfc8782c7d7757fb058e9088e (patch)
tree65f5bb1d08926ba42e05f051257ca5d9a7181dee /net/sched/act_ipt.c
parentnet/sched: cls_flower: Introduce support in SKIP SW flag (diff)
downloadlinux-dev-9c4a4e488bc8f55dfc8782c7d7757fb058e9088e.tar.xz
linux-dev-9c4a4e488bc8f55dfc8782c7d7757fb058e9088e.zip
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_ipt.c')
-rw-r--r--net/sched/act_ipt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_ipt.c b/net/sched/act_ipt.c
index 9f002ada7074..30e9087b3536 100644
--- a/net/sched/act_ipt.c
+++ b/net/sched/act_ipt.c
@@ -212,7 +212,7 @@ static int tcf_ipt(struct sk_buff *skb, const struct tc_action *a,
spin_lock(&ipt->tcf_lock);
- ipt->tcf_tm.lastuse = jiffies;
+ tcf_lastuse_update(&ipt->tcf_tm);
bstats_update(&ipt->tcf_bstats, skb);
/* yes, we have to worry about both in and out dev