[dpdk-stable] [PATCH v3] drivers: ifpga_rawdev: fix fd leak in rte_fpga_do_pr

Thomas Monjalon thomas at monjalon.net
Thu May 2 23:39:49 CEST 2019


> > 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: ef1e8ede3da59e("raw/ifpga: add Intel FPGA bus rawdev driver")
> > Cc: stable at dpdk.org
> > 
> > Signed-off-by: Li Qiang <liq3ea at 163.com>
> 
> Acked-by: Rosen Xu <rosen.xu at intel.com>

Applied, thanks





More information about the stable mailing list