Skip to content
Commit 78a5b30b authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parent 53049978
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment