Message ID | 1584790158-9752-4-git-send-email-wenxu@ucloud.cn |
---|---|
State | New |
Headers | show |
Series | [nf-next,1/3] netfilter: nf_flow_table: add nf_conn_acct for SW flowtable offload | expand |
diff --git a/net/sched/act_ct.c b/net/sched/act_ct.c index 56b66d2..0386c6b 100644 --- a/net/sched/act_ct.c +++ b/net/sched/act_ct.c @@ -536,6 +536,7 @@ static bool tcf_ct_flow_table_lookup(struct tcf_ct_params *p, flow_offload_refresh(nf_ft, flow); nf_conntrack_get(&ct->ct_general); nf_ct_set(skb, ct, ctinfo); + flow_offload_update_acct(flow, 1, skb->len, dir); return true; }