hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/net/sched/act_ctinfo.c
....@@ -92,7 +92,7 @@
9292 cp = rcu_dereference_bh(ca->params);
9393
9494 tcf_lastuse_update(&ca->tcf_tm);
95
- bstats_update(&ca->tcf_bstats, skb);
95
+ tcf_action_update_bstats(&ca->common, skb);
9696 action = READ_ONCE(ca->tcf_action);
9797
9898 wlen = skb_network_offset(skb);
....@@ -211,8 +211,8 @@
211211 index = actparm->index;
212212 err = tcf_idr_check_alloc(tn, &index, a, bind);
213213 if (!err) {
214
- ret = tcf_idr_create(tn, index, est, a,
215
- &act_ctinfo_ops, bind, false, 0);
214
+ ret = tcf_idr_create_from_flags(tn, index, est, a,
215
+ &act_ctinfo_ops, bind, flags);
216216 if (ret) {
217217 tcf_idr_cleanup(tn, index);
218218 return ret;