[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] chardev: race condition with tcp_chr_disconnect
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] chardev: race condition with tcp_chr_disconnect |
Date: |
Mon, 15 Jul 2019 20:27:24 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 |
On 15/07/19 19:23, Max Reitz wrote:
> On 12.07.19 21:17, Andrey Shinkevich wrote:
>> When tcp_chr_disconnect() is called, other thread may be still writing
>> to the channel. This patch protects only read operations that initiate
>> the disconnection.
>>
>> Signed-off-by: Andrey Shinkevich <address@hidden>
>> ---
>
> Have you looked at
> https://lists.nongnu.org/archive/html/qemu-devel/2019-02/msg06174.html
> already? From a glance, it looks like that series supersedes this one.
>
> (No, I don’t know why the other series is delayed.
Because it broke some testcases in tests/vhost-user-test. They are
disabled by default, because AFAIR they broke on some CI environment,
but they are supposed to work.
Paolo
> I keep reminding
> Paolo of it.)
>
> Max
>