numam-dpdk/lib/librte_kni
Dan Gora e716b63985 kni: fix crash with null name
Fix a segmentation fault which occurs when the kni_autotest is run
in the 'test' application.

This segmenation fault occurs when rte_kni_get() is called with a
NULL value for 'name'.

Fixes: 0c6bc8ef70 ("kni: memzone pool for alloc and release")
Cc: stable@dpdk.org

Signed-off-by: Dan Gora <dg@adax.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-08-09 11:50:10 +02:00
..
Makefile lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
meson.build kni: disable for 32-bit meson builds 2018-07-12 12:24:01 +02:00
rte_kni_fifo.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_kni_version.map kni: remove deprecated functions 2015-09-03 19:22:48 +02:00
rte_kni.c kni: fix crash with null name 2018-08-09 11:50:10 +02:00
rte_kni.h kni: set initial value for MTU 2018-02-01 01:03:26 +01:00