]> err.no Git - linux-2.6/commit
pkt_sched: Fix dev_graft_qdisc() locking
authorJarek Poplawski <jarkao2@gmail.com>
Wed, 27 Aug 2008 09:12:52 +0000 (02:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Aug 2008 09:15:20 +0000 (02:15 -0700)
commit666d9bbedfff7c2c37eab92e715641922dee6864
tree5df5a04cad7fb147fca45fa3afc45703765ecc7d
parentc2d42545774c4bba7232521d836d0793330e3a4e
pkt_sched: Fix dev_graft_qdisc() locking

During dev_graft_qdisc() dev is deactivated, so qdisc_root_lock()
returns wrong lock of noop_qdisc instead of qdisc_sleeping.

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c