From: Philip Craig <philipc@snapgear.com>
To: Harald Welte <laforge@netfilter.org>
Cc: Netfilter Development Mailinglist
<netfilter-devel@lists.netfilter.org>,
Patrick McHardy <kaber@trash.net>
Subject: Re: [RFC] [PATCH] clean up nf_log API
Date: Thu, 11 May 2006 18:58:42 +1000 [thread overview]
Message-ID: <4462FCC2.90205@snapgear.com> (raw)
In-Reply-To: <20060511082555.GB10324@sunbeam.de.gnumonks.org>
On 05/11/2006 06:25 PM, Harald Welte wrote:
> I agree, I prefer automatic fallback while giving the user the ability
> to unload. However, if people automatically unload 'unused' modules,
> then there might be a problem (however, for both ULOG and nfnetlink_log,
> userspace listeners would increment the refcount, I think).
What constitutes in use? If a backend is in use whenever it is
the highest priority backend, then blocking unloading would mean
nfnetlink_log can never be unloaded. Letting the user choose the
highest priority backend would solve that. In which case I think
blocking unloading is desirable, we shouldn't unload the backend
the user has chosen.
And I assume that log rules can also specify a backend? (eg the
LOG and ULOG rules always will) That should probably block
unloading too.
> Also, there is another unresolved problem: What if we actually have
> e.g. nfnetlink_log loaded, but it is unable to send a specific packet to
> userspace because there is no listener for this Address family or log
> group? Should we then also fall back on some other backend?
Just doing a printk to notify of the error is enough?
We probably should be doing a printk anyway if it is
a backend the user has chosen explicitly.
next prev parent reply other threads:[~2006-05-11 8:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-10 19:10 [RFC] [PATCH] clean up nf_log API Harald Welte
2006-05-11 5:36 ` Gregor Maier
2006-05-11 8:39 ` Harald Welte
2006-05-11 8:44 ` Patrick McHardy
2006-05-11 8:59 ` Holger Eitzenberger
2006-05-11 11:55 ` Harald Welte
2006-05-11 6:56 ` Patrick McHardy
2006-05-11 8:25 ` Harald Welte
2006-05-11 8:39 ` Patrick McHardy
2006-05-11 8:58 ` Philip Craig [this message]
2006-05-11 8:54 ` Holger Eitzenberger
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=4462FCC2.90205@snapgear.com \
--to=philipc@snapgear.com \
--cc=kaber@trash.net \
--cc=laforge@netfilter.org \
--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.