.. | .. |
---|
92 | 92 | cp = rcu_dereference_bh(ca->params); |
---|
93 | 93 | |
---|
94 | 94 | tcf_lastuse_update(&ca->tcf_tm); |
---|
95 | | - bstats_update(&ca->tcf_bstats, skb); |
---|
| 95 | + tcf_action_update_bstats(&ca->common, skb); |
---|
96 | 96 | action = READ_ONCE(ca->tcf_action); |
---|
97 | 97 | |
---|
98 | 98 | wlen = skb_network_offset(skb); |
---|
.. | .. |
---|
211 | 211 | index = actparm->index; |
---|
212 | 212 | err = tcf_idr_check_alloc(tn, &index, a, bind); |
---|
213 | 213 | 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); |
---|
216 | 216 | if (ret) { |
---|
217 | 217 | tcf_idr_cleanup(tn, index); |
---|
218 | 218 | return ret; |
---|