[dpdk-dev,1/2] arch/arm: fix file descriptors leakage when getting CPU features
Commit Message
Signed-off-by: Jianbo Liu <jianbo.liu@linaro.org>
---
lib/librte_eal/common/arch/arm/rte_cpuflags.c | 1 +
1 file changed, 1 insertion(+)
Comments
Hello Jianbo Liu,
thank you, a good catch!
Can you please git blame for the commit introducing the issue and add
the "Fixes:" tag as described in [1]?
Same for ppc.
Regards
Jan
[1] http://dpdk.org/doc/guides/contributing/patches.html#commit-messages-body
On Fri, 4 Nov 2016 11:59:08 +0530
Jianbo Liu <jianbo.liu@linaro.org> wrote:
> Signed-off-by: Jianbo Liu <jianbo.liu@linaro.org>
Acked-by: Jan Viktorin <viktorin@rehivetech.com>
Hi Jan,
On 4 November 2016 at 15:24, <viktorin@rehivetech.com> wrote:
> Hello Jianbo Liu,
>
> thank you, a good catch!
>
> Can you please git blame for the commit introducing the issue and add
> the "Fixes:" tag as described in [1]?
>
> Same for ppc.
>
I will send v2 soon.
Thanks!
> Regards
> Jan
>
> [1] http://dpdk.org/doc/guides/contributing/patches.html#commit-messages-body
>
> On Fri, 4 Nov 2016 11:59:08 +0530
> Jianbo Liu <jianbo.liu@linaro.org> wrote:
>
>> Signed-off-by: Jianbo Liu <jianbo.liu@linaro.org>
>
> Acked-by: Jan Viktorin <viktorin@rehivetech.com>
@@ -148,6 +148,7 @@ rte_cpu_get_features(hwcap_registers_t out)
out[REG_PLATFORM] = 0x0001;
}
}
+ close(auxv_fd);
}
/*