All of lore.kernel.org
 help / color / mirror / Atom feed
* libipq thread safety
       [not found] <9b2db90b0709240216j95b58bch35a234527f9d97f4@mail.gmail.com>
@ 2007-09-24  9:18 ` Nir Tzachar
  0 siblings, 0 replies; 3+ messages in thread
From: Nir Tzachar @ 2007-09-24  9:18 UTC (permalink / raw)
  To: netfilter

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 a
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...

Thanks for your help.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* libipq thread safety
@ 2007-09-25 13:56 Nir Tzachar
  2007-09-25 14:31 ` Patrick McHardy
  0 siblings, 1 reply; 3+ messages in thread
From: Nir Tzachar @ 2007-09-25 13:56 UTC (permalink / raw)
  To: netfilter-devel

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...

Thanks for your help.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libipq thread safety
  2007-09-25 13:56 libipq thread safety Nir Tzachar
@ 2007-09-25 14:31 ` Patrick McHardy
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick McHardy @ 2007-09-25 14:31 UTC (permalink / raw)
  To: Nir Tzachar; +Cc: netfilter-devel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-25 14:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-25 13:56 libipq thread safety Nir Tzachar
2007-09-25 14:31 ` Patrick McHardy
     [not found] <9b2db90b0709240216j95b58bch35a234527f9d97f4@mail.gmail.com>
2007-09-24  9:18 ` Nir Tzachar

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.