diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-18 21:03:15 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-18 21:06:19 -0700 |
commit | 4d8863a29c4755a0461cd31b6865026187d6c43a (patch) | |
tree | 502b355314b1ff2e6cef52bf3778aba3bdae80cd /net/sched/cls_basic.c | |
parent | 25bfcd5a78a377ea4c54a3c21e44590e2fc478a6 (diff) |
pkt_sched: Don't hold qdisc lock over qdisc_destroy().
Based upon reports by Denys Fedoryshchenko, and feedback
and help from Jarek Poplawski and Herbert Xu.
We always either:
1) Never made an external reference to this qdisc.
or
2) Did a dev_deactivate() which purged all asynchronous
references.
So do not lock the qdisc when we call qdisc_destroy(),
it's illegal anyways as when we drop the lock this is
free'd memory.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions