[systemd-devel] FW: [PATCH] names: clear e->activator when activator has disconnected

Daniel Mack daniel at zonque.org
Mon Feb 24 05:17:17 PST 2014


On 02/24/2014 01:51 PM, Radoslaw Pajak wrote:
>> On 02/24/2014 12:47 PM, Daniel Mack wrote:
>> Yes, but there's one more pointer that can dangle :)
>>
>> As we're not on a fast path here, I think we can really walk the hash
>> of
>> all names in the registry of the bus, and clean up the ->activator
>> pointer. Which should also fix the bug you mentioned above.
>>
>> What about this one instead?
>>
>>
>> Thanks,
>> Daniel
> 
> This does the job well also. 

Ok, thanks!

I commited a slightly modified version now that addresses potiential
ABBA locking when unrefing the connection.


Daniel



More information about the systemd-devel mailing list