From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giacomo Strangolino Subject: irq problems? Date: Mon, 28 Nov 2005 15:41:22 +0100 Message-ID: <438B1712.1000702@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: To: netfilter-devel@lists.netfilter.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Good morning. I wrote a simple packet filter in kernel space. I register with netfilter hooks and then i process packets in input, output, forward, pre, post. For rules and internal structures i use linked lists with read_lock_bh / write_lock_bh to protect concurrency, since there are timers which, at timeout, delete entries in lists. All works fine, but sometimes when i unplug video cable from graphic card system hangs. Sometimes this happens after unloading my modules, but this happens more frequently when my filter is running. Can it be an issue related to my work? Perhaps could it be an interrupt raised by network card which i should protect code from? Should i disable hw interrupts? What can be wrong, any idea? Thanks a lot! Giacomo www.giacomos.it/ipfire