On 2015/03/06 20:05, Huawei Xie wrote:
> This avoids closing -1 in our case.
>
> Signed-off-by: Huawei Xie
> ---
> lib/librte_vhost/virtio-net.c | 8
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c
> index 6
> > This avoids closing -1 in our case.
> >
> > Signed-off-by: Huawei Xie
>
> Acked-by: Changchun Ouyang
Applied, thanks
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie
> Sent: Friday, March 6, 2015 7:06 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] test whether file descriptor is valid before close
> it
>
> This avoids closing -1
This avoids closing -1 in our case.
Signed-off-by: Huawei Xie
---
lib/librte_vhost/virtio-net.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c
index 6917fcf..4672e67 100644
--- a/lib/librte_vhost/virtio-ne
4 matches
Mail list logo