summaryrefslogtreecommitdiff
path: root/net/sched/act_skbedit.c
diff options
context:
space:
mode:
authorJamal Hadi Salim <jhs@mojatatu.com>2016-06-06 13:32:53 +0300
committerDavid S. Miller <davem@davemloft.net>2016-06-08 01:53:43 +0300
commit9c4a4e488bc8f55dfc8782c7d7757fb058e9088e (patch)
tree65f5bb1d08926ba42e05f051257ca5d9a7181dee /net/sched/act_skbedit.c
parente69985c67c33f1d981a87986237366e83a8f0e13 (diff)
downloadlinux-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_skbedit.c')
-rw-r--r--net/sched/act_skbedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_skbedit.c b/net/sched/act_skbedit.c
index e928802966bc..82105c8cb60f 100644
--- a/net/sched/act_skbedit.c
+++ b/net/sched/act_skbedit.c
@@ -37,7 +37,7 @@ static int tcf_skbedit(struct sk_buff *skb, const struct tc_action *a,
struct tcf_skbedit *d = a->priv;
spin_lock(&d->tcf_lock);
- d->tcf_tm.lastuse = jiffies;
+ tcf_lastuse_update(&d->tcf_tm);
bstats_update(&d->tcf_bstats, skb);
if (d->flags & SKBEDIT_F_PRIORITY)