[dpdk-dev] [PATCH] pci: fix closing an unopened file descriptor

2013-09-12 Thread Thomas Monjalon
04/09/2013 09:34, Tetsuya Mukawa : > If CONFIG_RTE_EAL_UNBIND_PORTS is set and virtio-net is used, an unopened > file descriptor will be illegally closed in the finalized phase of EAL. > The fix adds a correct initial value to the file descriptor, and check it > before closing it. > > Signed-off-b

[dpdk-dev] [PATCH] pci: fix closing an unopened file descriptor

2013-09-04 Thread Tetsuya.Mukawa
Hi Thomas, I've sent the patch to fix an uninitialized variable access. Could you please check it? I will send ver.2 patch if I need. Thanks, Tetsuya Mukawa (2013/09/04 16:34), Tetsuya Mukawa wrote: > If CONFIG_RTE_EAL_UNBIND_PORTS is set and virtio-net is used, an unopened > file descriptor wil

[dpdk-dev] [PATCH] pci: fix closing an unopened file descriptor

2013-09-04 Thread Tetsuya Mukawa
If CONFIG_RTE_EAL_UNBIND_PORTS is set and virtio-net is used, an unopened file descriptor will be illegally closed in the finalized phase of EAL. The fix adds a correct initial value to the file descriptor, and check it before closing it. Signed-off-by: Tetsuya Mukawa --- lib/librte_eal/linuxapp