pkt_sched: Make qdisc grafting locking more specific.
authorDavid S. Miller <davem@davemloft.net>
Wed, 16 Jul 2008 10:00:19 +0000 (03:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jul 2008 02:21:27 +0000 (19:21 -0700)
commit53049978df1d9ae55bf397c9879e6b33218352db
tree18369747279ef1c0b807fe19e80d5d6c96d099bb
parentead81cc5fc6d996db6afb20f211241612610a07a
pkt_sched: Make qdisc grafting locking more specific.

Lock the root of the qdisc being operated upon.

All explicit references to qdisc_tree_lock() are now gone.
The only remaining uses are via the sch_tree_{lock,unlock}()
and tcf_tree_{lock,unlock}() macros.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c