• Karsten Keil's avatar
    mISDN: Do not disable IRQ in ph_data_ind() · 8164491d
    Karsten Keil authored
    This fix triggering the WARN_ON_ONCE(in_irq() || irqs_disabled()); in
    local_bh_enable().
    
    Here is no need to grab this lock, this was wrong at all and may
    cause a deadlock and access to freed memory, since on a TEI remove
    the current listelement can be deleted under us. So this is clearly
    a case for list_for_each_entry_safe.
    Signed-off-by: default avatarKarsten Keil <keil@b1-systems.de>
    8164491d
tei.c 32 KB