Re: [PATCH v4] vhost: fix crash caused by accessing a freed vsocket

2025-05-26 Thread Stephen Hemminger
On Mon, 8 Jul 2024 12:41:03 +0800 Gongming Chen wrote: > diff --git a/lib/vhost/vhost_thread.c b/lib/vhost/vhost_thread.c > new file mode 100644 > index 00..f3ff182976 > --- /dev/null > +++ b/lib/vhost/vhost_thread.c > @@ -0,0 +1,33 @@ > +#include > + > +#include "vhost_thread.h" > + >

Re: [PATCH v4] vhost: fix crash caused by accessing a freed vsocket

2024-07-09 Thread David Marchand
Hello, On Mon, Jul 8, 2024 at 6:41 AM Gongming Chen wrote: > > From: Gongming Chen > > When a vhost user message handling error in the event dispatch thread, > vsocket reconn is added to the reconnection list of the reconnection > thread. > Since the reconnection, event dispatching and app confi

[PATCH v4] vhost: fix crash caused by accessing a freed vsocket

2024-07-07 Thread Gongming Chen
From: Gongming Chen When a vhost user message handling error in the event dispatch thread, vsocket reconn is added to the reconnection list of the reconnection thread. Since the reconnection, event dispatching and app configuration thread do not have common thread protection restrictions, the app