On 28.10.2008 15.25, "Lino Sanfilippo" <[EMAIL PROTECTED]> wrote:

> After studying the kernel code it also seems to me that the group
> registration code in dazuko_register_daemon()  contains a possible race
> condition:
> Looking for a slotlist to register a group PLUS assigning the group to
> it should be done atomic.
> Otherwise in the (admittedly rare) case that two or more processes are
> trying to register the same group,  one process could assign the group
> to a slotlist right after another one has figured out that this
> group is not yet registered and thus trying to register it, too. The
> result could be 2 or more slotlists being assigned to the same group.

I think this sounds a lot like the bug we were encountering. We started 10
processes that tried to register to dazuko. Unfortunately I don't remember
the specifics any more. I think the problem went away after we did this fix:
http://savannah.nongnu.org/patch/?6165

-- Sami



_______________________________________________
Dazuko-devel mailing list
Dazuko-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/dazuko-devel

Reply via email to