Re: [dpdk-dev] [PATCH 3/3] kni: fix unchecked return value

2021-04-26 Thread Ferruh Yigit
On 4/22/2021 4:56 AM, Min Hu (Connor) wrote: > Return value 'rte_kni_init' of a function is not checked. If > it fails, error handling (logging and return) should be done. > > This patch fixed it. > > Fixes: 0c6bc8ef70ba ("kni: memzone pool for alloc and release") > Cc: sta...@dpdk.org > > Signe

[dpdk-dev] [PATCH 3/3] kni: fix unchecked return value

2021-04-21 Thread Min Hu (Connor)
Return value 'rte_kni_init' of a function is not checked. If it fails, error handling (logging and return) should be done. This patch fixed it. Fixes: 0c6bc8ef70ba ("kni: memzone pool for alloc and release") Cc: sta...@dpdk.org Signed-off-by: Min Hu (Connor) --- app/test/test_kni.c | 6 +-