On 4/27/2020 12:12 PM, Gaëtan Rivet wrote: > On 27/04/20 18:44 +0800, wangyunjian wrote: >> From: Yunjian Wang <wangyunj...@huawei.com> >> >> Zero is a valid fd. The fd won't be closed thus leading fd leak, >> when it is zero. >> >> Fixes: f234e5bd996d ("net/failsafe: register slaves Rx interrupts") >> Fixes: 9e0360aebf23 ("net/failsafe: register as Rx interrupt mode") >> Cc: sta...@dpdk.org >> > > Hello Yunjian, > > Nothing prevents a DPDK app from closing 0 and getting it from > another call, good catch. > >> Signed-off-by: Yunjian Wang <wangyunj...@huawei.com> > > Acked-by: Gaetan Rivet <gr...@u256.net>
Applied to dpdk-next-net/master, thanks.