dazuko-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dazuko-devel] Patch for patch-dazuko-linux-2.6.26


From: Sami Tikka
Subject: Re: [Dazuko-devel] Patch for patch-dazuko-linux-2.6.26
Date: Thu, 30 Oct 2008 23:11:02 +0200
User-agent: Microsoft-Entourage/12.13.0.080930

On 28.10.2008 15.25, "Lino Sanfilippo" <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]