From: Eric Leblond <eric@inl.fr>
To: Jacky Luk <jacky.luk@primecreation.com>
Cc: netfilter@vger.kernel.org, netfilter-devel@vger.kernel.org
Subject: Re: Is the libnetfilter_queue thread-safe?
Date: Fri, 23 Jan 2009 08:35:25 +0100 [thread overview]
Message-ID: <1232696125.22893.5.camel@ice-age> (raw)
In-Reply-To: <web-4707182@mail.primecreation.com>
[-- Attachment #1: Type: text/plain, Size: 667 bytes --]
Hi,
Le vendredi 23 janvier 2009 à 12:02 +0800, Jacky Luk a écrit :
> Hi,
>
> I would like to ask a question about the
> libnetfilter_queue. Is the libnetfilter_queue thread-safe?
Is had yet to be decide :/ From my experience on NuFW, you can use it
with multithreaded programs and you can have a reading thread and a
writing thread working together on the same queue.
> Would the API of libnetfilter_queue cause the kernel crash
> under multi-threading environment?
Clearly not, the worse that can happen is an application crash not a
kernel crash.
BR,
--
Eric Leblond <eric@inl.fr>
INL: http://www.inl.fr/
NuFW: http://www.nufw.org/
[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2009-01-23 7:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-23 4:02 Is the libnetfilter_queue thread-safe? Jacky Luk
2009-01-23 7:35 ` Eric Leblond [this message]
2009-01-26 13:21 ` Patrick McHardy
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=1232696125.22893.5.camel@ice-age \
--to=eric@inl.fr \
--cc=jacky.luk@primecreation.com \
--cc=netfilter-devel@vger.kernel.org \
--cc=netfilter@vger.kernel.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.