hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
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;