Re: [dpdk-dev] [PATCH v1] net/mlx5: fix existing file removal

2018-03-19 Thread Shahaf Shuler
Friday, March 16, 2018 5:38 PM, Nélio Laranjeiro: > On Fri, Mar 16, 2018 at 11:22:27PM +0800, Xueming Li wrote: > > There is no guarantee that the file won't be removed by external > > user/application between the stat() and remove() syscalls, remove() > > will fail if the file no longer exists. >

Re: [dpdk-dev] [PATCH v1] net/mlx5: fix existing file removal

2018-03-16 Thread Nélio Laranjeiro
On Fri, Mar 16, 2018 at 11:22:27PM +0800, Xueming Li wrote: > There is no guarantee that the file won't be removed by external > user/application between the stat() and remove() syscalls, remove() will > fail if the file no longer exists. > > Fixes: f8b9a3bad467 ("net/mlx5: install a socket to exc

[dpdk-dev] [PATCH v1] net/mlx5: fix existing file removal

2018-03-16 Thread Xueming Li
There is no guarantee that the file won't be removed by external user/application between the stat() and remove() syscalls, remove() will fail if the file no longer exists. Fixes: f8b9a3bad467 ("net/mlx5: install a socket to exchange a file descriptor") Signed-off-by: Xueming Li --- drivers/net