kernel/net/sched/sch_codel.c
.. .. @@ -141,7 +141,8 @@ 141 141 if (!opt) 142 142 return -EINVAL; 143 143 144 - err = nla_parse_nested(tb, TCA_CODEL_MAX, opt, codel_policy, NULL);144 + err = nla_parse_nested_deprecated(tb, TCA_CODEL_MAX, opt,145 + codel_policy, NULL);145 146 if (err < 0) 146 147 return err; 147 148 .. .. @@ -217,7 +218,7 @@ 217 218 struct codel_sched_data *q = qdisc_priv(sch); 218 219 struct nlattr *opts; 219 220 220 - opts = nla_nest_start(skb, TCA_OPTIONS);221 + opts = nla_nest_start_noflag(skb, TCA_OPTIONS);221 222 if (opts == NULL) 222 223 goto nla_put_failure; 223 224