diff options
author | Eric Dumazet <edumazet@google.com> | 2014-03-08 17:01:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-10 20:44:21 +0100 |
commit | 37314363cd65d19c71bea5f222e5108c93dc3c78 (patch) | |
tree | f27b438ff9fccfae7fe7c85baf0763663f5b9569 /usr/initramfs_data.S | |
parent | Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/lin... (diff) | |
download | linux-37314363cd65d19c71bea5f222e5108c93dc3c78.tar.xz linux-37314363cd65d19c71bea5f222e5108c93dc3c78.zip |
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 'usr/initramfs_data.S')
0 files changed, 0 insertions, 0 deletions