bug-hurd
[Top][All Lists]
Advanced

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

Re: race condition in libports


From: Samuel Thibault
Subject: Re: race condition in libports
Date: Sun, 17 Dec 2017 14:02:23 +0100
User-agent: NeoMutt/20170113 (1.7.2)

Hello,

Brent W. Baccala, on sam. 16 déc. 2017 21:37:05 -0500, wrote:
> basically, we're storing ports in a inode-to-port hash, looking them
> up when io_identity() gets called, and removing them from the hash
> when the class's clean routine gets called.

That's the bug: one needs a reference for this.  And it's a weak
reference: identity is fine with getting rid of it.  Could you try the
attached patch?

Samuel

Attachment: identity_weak
Description: Text document


reply via email to

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