[dpdk-dev] [PATCH] eal/linux: fix fd check before close

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Feb 10 14:24:07 CET 2017


2017-02-10 08:53, Yong Wang:
> The "dev->intr_handle.fd" is possibly a negative value while it is
> passed as an argument to function "close". Fix the check to the fd.
> 
> Signed-off-by: Yong Wang <wang.yong19 at zte.com.cn>

pci: fix UIO interrupt file descriptor check before close

Fixes: 5a60a7ffc801 ("pci: introduce functions to alloc and free uio resource")

Applied, thanks


More information about the dev mailing list