From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Giacomo <delleceste@gmail.com>
Cc: netfilter devel <netfilter-devel@lists.netfilter.org>
Subject: Re: module cleanup and timeouts
Date: Mon, 11 Dec 2006 14:44:29 +0100 [thread overview]
Message-ID: <457D60BD.60400@netfilter.org> (raw)
In-Reply-To: <885896af0612110111v69660248vb65d78358aae5d11@mail.gmail.com>
I didn't read the full email, just did a really quick look.
Giacomo wrote:
> This works but, when i remove the module from the kernel,
> THERE IS A CRASH if one entry timeouts at the same time
> in which the module is removed.
>
> [...]
> tl = list_entry(pos, struct state_table, list);
> del_timer(&tl->timer_statelist);
^^
check the value returned by del_timer, if the timer is dying then skip
the destroy process since the callback associated to the timer will do
the work.
--
The dawn of the fourth age of Linux firewalling is coming; a time of
great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris
prev parent reply other threads:[~2006-12-11 13:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-11 9:11 module cleanup and timeouts Giacomo
2006-12-11 13:44 ` Pablo Neira Ayuso [this message]
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=457D60BD.60400@netfilter.org \
--to=pablo@netfilter.org \
--cc=delleceste@gmail.com \
--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.