Message ID | 1633734216-7613-2-git-send-email-bodong@nvidia.com |
---|---|
State | New |
Headers | show |
Series | Fix byte count on fragmented packets in tc ct action | expand |
diff --git a/net/sched/act_ct.c b/net/sched/act_ct.c index 2ad05a3..8c0b6727 100644 --- a/net/sched/act_ct.c +++ b/net/sched/act_ct.c @@ -952,6 +952,8 @@ static int tcf_ct_act(struct sk_buff *skb, const struct tc_action *a, force = p->ct_action & TCA_CT_ACT_FORCE; tmpl = p->tmpl; + tcf_lastuse_update(&c->tcf_tm); + if (clear) { qdisc_skb_cb(skb)->post_ct = false; ct = nf_ct_get(skb, &ctinfo);