|
|
@@ -744,7 +744,7 @@ int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[],
|
|
|
|
|
|
for (i = 0; i < TCA_ACT_MAX_PRIO && actions[i]; i++) {
|
|
|
a = actions[i];
|
|
|
- nest = nla_nest_start(skb, a->order);
|
|
|
+ nest = nla_nest_start(skb, i + 1);
|
|
|
if (nest == NULL)
|
|
|
goto nla_put_failure;
|
|
|
err = tcf_action_dump_1(skb, a, bind, ref);
|
|
|
@@ -1257,7 +1257,6 @@ tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n,
|
|
|
ret = PTR_ERR(act);
|
|
|
goto err;
|
|
|
}
|
|
|
- act->order = i;
|
|
|
attr_size += tcf_action_fill_size(act);
|
|
|
actions[i - 1] = act;
|
|
|
}
|