pkt_sched: Fix "parent is root" test in qdisc_create().

As noticed by Stephen Hemminger, the root qdisc is denoted by
TC_H_ROOT, not zero.

Signed-off-by: David S. Miller <davem@davemloft.net>

+1 -1
+1 -1
net/sched/sch_api.c
··· 792 792 goto err_out3; 793 793 } 794 794 } 795 - if (parent && !(sch->flags & TCQ_F_INGRESS)) 795 + if ((parent != TC_H_ROOT) && !(sch->flags & TCQ_F_INGRESS)) 796 796 list_add_tail(&sch->list, &dev_queue->qdisc->list); 797 797 798 798 return sch;