|From:||Brent W. Baccala|
|Subject:||Re: race condition in libports|
|Date:||Fri, 5 Jan 2018 17:45:57 -0500|
On Sun, Dec 17, 2017 at 8:02 AM, Samuel Thibault <email@example.com> wrote: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?Makes sense. I've applied it. So far, so good.
Description: Binary data
|[Prev in Thread]||Current Thread||[Next in Thread]|