From: Karsten Keil Date: Tue, 9 Jun 2009 12:38:39 +0000 (+0200) Subject: mISDN: Do not disable IRQ in ph_data_ind() X-Git-Tag: v2.6.31-rc1~330^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8164491dd628ffcac5d61267f747997689ee256c;p=pandora-kernel.git mISDN: Do not disable IRQ in ph_data_ind() 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: Karsten Keil --- Reading git-diff-tree failed