pkt_sched: Fix qdisc config when link is down.
authorDavid S. Miller <davem@davemloft.net>
Fri, 8 Aug 2008 03:26:40 +0000 (20:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Aug 2008 03:26:40 +0000 (20:26 -0700)
commit827ebd6410005b05b3c930ef6a116666c6986886
tree7b9c0fcf0b6f1502620453c5050d68e8e9325caa
parent22c7fdf4a7acfa24d9d498b1357e6c07d0e6c553
pkt_sched: Fix qdisc config when link is down.

Bug reported by Stephen Hemminger.

We need to fetch the root from ->qdisc_sleeping not ->qdisc.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c