• D
    pkt_sched: Don't hold qdisc lock over qdisc_destroy(). · 4d8863a2
    David S. Miller 提交于
    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: NDavid S. Miller <davem@davemloft.net>
    4d8863a2
sch_generic.c 16.5 KB