netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Nir Tzachar <nir.tzachar@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: libipq thread safety
Date: Tue, 25 Sep 2007 16:31:08 +0200	[thread overview]
Message-ID: <46F91BAC.8010304@trash.net> (raw)
In-Reply-To: <9b2db90b0709250656g304194b7va67d4a02eb23e26e@mail.gmail.com>

Nir Tzachar wrote:
> Hello.
> 
> I am writing an application which uses the QUEUE target and am using
> the libipq library.
> 
> I have a question regarding the thread safety of the library: is it
> possible to do an ipq_read from one thread and an ipq_set_verdict from another?
> Searching the archive of both netfilter and netfilter-devel yields no
> definite answers...


It should be. But I'd use nfnetlink_queue, which obsoletes ip_queue.

      reply	other threads:[~2007-09-25 14:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-25 13:56 libipq thread safety Nir Tzachar
2007-09-25 14:31 ` Patrick McHardy [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=46F91BAC.8010304@trash.net \
    --to=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=nir.tzachar@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).