pkt_sched: Fix sch_tree_lock()
commitfe439dd09d3e4da6a44d35df7371b9c6a2661b99
authorJarek Poplawski <jarkao2@gmail.com>
Wed, 27 Aug 2008 09:27:10 +0000 (27 02:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Aug 2008 09:27:10 +0000 (27 02:27 -0700)
treee37911e7a8535f662beec78cbb41a9afc1c070f7
parentf6f9b93f1624206c802ac9162c9302edaf59bfd9
pkt_sched: Fix sch_tree_lock()

Use new qdisc_root_sleeping_lock() instead of qdisc_root_lock() as
sch_tree_lock() because this lock could be used while dev is
deactivated, but we never need to use this with noop_qdisc as a root.

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h