All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] make thread-safe iface resolution in libnfnetlink
@ 2009-04-28 21:45 Eric Leblond
  2009-04-28 21:45 ` [PATCH] iftable: make library thread-safe Eric Leblond
  2009-04-29  0:01 ` [RFC] make thread-safe iface resolution in libnfnetlink Pablo Neira Ayuso
  0 siblings, 2 replies; 4+ messages in thread
From: Eric Leblond @ 2009-04-28 21:45 UTC (permalink / raw)
  To: pablo, kaber; +Cc: netfilter-devel

Hi,

I've encountered some problems with libnfnetlink iface resolution on a
system where some interfaces are getting up and down: NuFW which uses
this feature has crashed during a down/up of an interfaces. One of
the reason seems that nufw uses one thread is used for iface related
event treatment and another thread is doing iface name resolution.

As the hash can be modified or read without any lock, I think the
problem can be linked with this issue. I thus propose a patch that
modifies the iface resolution subsystem to make it thread-safe.

BR,
--
Eric Leblond <eric@inl.fr>
INL: http://www.inl.fr/
NuFW: http://www.nufw.org/

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

end of thread, other threads:[~2009-05-05 13:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28 21:45 [RFC] make thread-safe iface resolution in libnfnetlink Eric Leblond
2009-04-28 21:45 ` [PATCH] iftable: make library thread-safe Eric Leblond
2009-04-29  0:01 ` [RFC] make thread-safe iface resolution in libnfnetlink Pablo Neira Ayuso
2009-05-05 13:23   ` Patrick McHardy

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.