* libipq thread safety
@ 2007-09-25 13:56 Nir Tzachar
2007-09-25 14:31 ` Patrick McHardy
0 siblings, 1 reply; 2+ 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] 2+ 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; 2+ 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] 2+ messages in thread
end of thread, other threads:[~2007-09-25 14:40 UTC | newest]
Thread overview: 2+ 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
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).