hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/net/sched/act_pedit.c
....@@ -26,6 +26,7 @@
2626
2727 static const struct nla_policy pedit_policy[TCA_PEDIT_MAX + 1] = {
2828 [TCA_PEDIT_PARMS] = { .len = sizeof(struct tc_pedit) },
29
+ [TCA_PEDIT_PARMS_EX] = { .len = sizeof(struct tc_pedit) },
2930 [TCA_PEDIT_KEYS_EX] = { .type = NLA_NESTED },
3031 };
3132
....@@ -189,7 +190,7 @@
189190 err = tcf_idr_check_alloc(tn, &index, a, bind);
190191 if (!err) {
191192 ret = tcf_idr_create(tn, index, est, a,
192
- &act_pedit_ops, bind, false, 0);
193
+ &act_pedit_ops, bind, false, flags);
193194 if (ret) {
194195 tcf_idr_cleanup(tn, index);
195196 goto out_free;