]> git.baikalelectronics.ru Git - kernel.git/commit
pkt_sched: Grab correct lock in notify_and_destroy().
authorJarek Poplawski <jarkao2@gmail.com>
Mon, 18 Aug 2008 05:02:11 +0000 (22:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Aug 2008 05:02:11 +0000 (22:02 -0700)
commit56a270fe624bcb17db2cf4e2aa867e545b8a35e2
treecaf2e5e493774bef0bcf82eb489c00b68a0144bf
parentf0d4f9dc32c7d4f3ce625bf3c7c60b33f836e03f
pkt_sched: Grab correct lock in notify_and_destroy().

From: Jarek Poplawski <jarkao2@gmail.com>

When we are destroying non-root qdiscs, we need to lock
the root of the qdisc tree not the the qdisc itself.

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