numam-dpdk/drivers/raw/ifpga_rawdev
Li Qiang 194a83d837 raw/ifpga: fix file descriptor leak in error path
In rte_fpga_do_pr() function, if 'stat' return error the
'file_fd' is never closed thus leading a fd leak.
This patch avoids this.

Coverity issue: 279441
Fixes: ef1e8ede3d ("raw/ifpga: add Intel FPGA bus rawdev driver")
Cc: stable@dpdk.org

Signed-off-by: Li Qiang <liq3ea@163.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
2019-05-02 23:48:37 +02:00
..
base raw/ifpga/base: add prefix for feature and its ops 2019-04-19 14:51:54 +02:00
ifpga_rawdev.c raw/ifpga: fix file descriptor leak in error path 2019-05-02 23:48:37 +02:00
ifpga_rawdev.h raw/ifpga: support ipn3ke 2019-04-19 14:51:54 +02:00
Makefile raw/ifpga: support ipn3ke 2019-04-19 14:51:54 +02:00
meson.build raw/ifpga: support ipn3ke 2019-04-19 14:51:54 +02:00
rte_pmd_ifpga_rawdev_version.map