Re: [dpdk-dev] [PATCH v2] net/tap: fix log loss when state fails to be restored

2021-04-29 Thread Ferruh Yigit
On 4/27/2021 1:54 AM, Min Hu (Connor) wrote: > From: Chengchang Tang > > After restoring the remote states, the return value of ioctl() is not > checked. Therefore, users cannot know whether the remote state is > restored successfully. > > This patch add log for restoring failure. > > Fixes: 48

[dpdk-dev] [PATCH v2] net/tap: fix log loss when state fails to be restored

2021-04-26 Thread Min Hu (Connor)
From: Chengchang Tang After restoring the remote states, the return value of ioctl() is not checked. Therefore, users cannot know whether the remote state is restored successfully. This patch add log for restoring failure. Fixes: 4810d3af8343 ("net/tap: restore state of remote device when closi