On 2/2/2021 9:26 AM, Zhou, JunX W wrote:

-----Original Message-----
From: Maxime Coquelin [mailto:[email protected]]
Sent: Monday, February 1, 2021 5:33 PM
To: [email protected]; Wang, Yinan <[email protected]>; Xia, Chenbo <[email protected]>; 
[email protected]; [email protected]; Ling, WeiX <[email protected]>; Jiang, YuX 
<[email protected]>
Cc: Maxime Coquelin <[email protected]>; Zhou, JunX W 
<[email protected]>
Subject: [PATCH] net/virtio: fix missing listen FD initialization

When running in client mode, the listen file descriptor is not initialized, and 
so has value 0. At destroy time, the listen FD is closed if its value is 
greater than or equal to zero, which causes STDIN to be closed.

> Bugzilla ID: 630
Fixes: 949735312f5e ("net/virtio: move vhost-user specifics to its backend")
Reported-by: Jun W Zhou <[email protected]>
Signed-off-by: Maxime Coquelin <[email protected]>

> Reviewed-by: David Marchand <[email protected]>
>
> Tested-by: Zhou, Jun <[email protected]>
>

Applied to dpdk-next-net/main, thanks.

Reply via email to