All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giacomo Strangolino <giacomo.strangolino@elettra.trieste.it>
To: netfilter-devel@lists.netfilter.org
Subject: irq problems?
Date: Mon, 28 Nov 2005 14:44:22 +0100	[thread overview]
Message-ID: <438B09B6.2080700@elettra.trieste.it> (raw)

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

             reply	other threads:[~2005-11-28 13:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-28 13:44 Giacomo Strangolino [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-11-28 14:41 irq problems? Giacomo Strangolino
2006-01-23 22:55 IRQ problems?? WSteffen
2006-01-30  9:24 ` Rod Morison

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=438B09B6.2080700@elettra.trieste.it \
    --to=giacomo.strangolino@elettra.trieste.it \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.