| commit | 78a5b30b7324b2d66bcf7d2e3935877d3c26497c | [log] [tgz] |
|---|---|---|
| author | David S. Miller <davem@davemloft.net> | Wed Jul 16 03:12:24 2008 -0700 |
| committer | David S. Miller <davem@davemloft.net> | Thu Jul 17 19:21:28 2008 -0700 |
| tree | a281f8611679c93c39cf6e9ff1e5b4121cbb8011 | |
| parent | 53049978df1d9ae55bf397c9879e6b33218352db [diff] |
pkt_sched: Rework {sch,tbf}_tree_lock().
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>