···7374 DPRINTK("dsmark_graft(sch %p,[qdisc %p],new %p,old %p)\n",sch,p,new,75 old);76- if (!new)77- new = &noop_qdisc;0000078 sch_tree_lock(sch);79 *old = xchg(&p->q,new);80 if (*old)
···7374 DPRINTK("dsmark_graft(sch %p,[qdisc %p],new %p,old %p)\n",sch,p,new,75 old);76+77+ if (new == NULL) {78+ new = qdisc_create_dflt(sch->dev, &pfifo_qdisc_ops);79+ if (new == NULL)80+ new = &noop_qdisc;81+ }82+83 sch_tree_lock(sch);84 *old = xchg(&p->q,new);85 if (*old)