pkt_sched: Rework {sch,tbf}_tree_lock().
authorDavid S. Miller <davem@davemloft.net>
Wed, 16 Jul 2008 10:12:24 +0000 (03:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jul 2008 02:21:28 +0000 (19:21 -0700)
Make sch_tree_lock() lock the qdisc's root.  All of the
users hold the RTNL semaphore and the root qdisc is not
changing.

Implement tbf_tree_{lock,unlock}() simply in terms of
sch_tree_{lock,unlock}().

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

No differences found