summaryrefslogtreecommitdiffstats
path: root/drivers/bus
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2014-03-08 08:01:19 -0800
committerDavid S. Miller <davem@davemloft.net>2014-03-10 15:44:21 -0400
commit37314363cd65d19c71bea5f222e5108c93dc3c78 (patch)
treef27b438ff9fccfae7fe7c85baf0763663f5b9569 /drivers/bus
parent92f092d16c5ff6e71d8e7761e4c9193375d3c994 (diff)
pkt_sched: move the sanity test in qdisc_list_add()
The WARN_ON(root == &noop_qdisc)) added in qdisc_list_add() can trigger in normal conditions when devices are not up. It should be done only right before the list_add_tail() call. Fixes: e57a784d8cae4 ("pkt_sched: set root qdisc before change() in attach_default_qdiscs()") Reported-by: Valdis Kletnieks <Valdis.Kletnieks@vt.edu> Tested-by: Mirco Tischler <mt-ml@gmx.de> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions