numam-dpdk/lib/librte_hash
Yunjian Wang a5f803c804 hash: fix out-of-memory handling in hash creation
The function rte_zmalloc_socket() could return NULL, the return
value need to be checked.

Fixes: 5915699153 ("hash: fix scaling by reducing contention")
Cc: stable@dpdk.org

Reported-by: Bin Huang <brian.huangbin@huawei.com>
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Yipeng Wang <yipeng1.wang@intel.com>
2020-07-27 12:53:40 +02:00
..
Makefile build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
rte_cmp_arm64.h
rte_cmp_x86.h hash: fix TSX aborts with newer gcc 2018-11-14 01:02:07 +01:00
rte_crc_arm64.h
rte_cuckoo_hash.c hash: fix out-of-memory handling in hash creation 2020-07-27 12:53:40 +02:00
rte_cuckoo_hash.h hash: use 32-bit elements rings to save memory 2020-01-19 19:32:50 +01:00
rte_fbk_hash.c eal: hide shared memory config 2019-07-06 10:32:34 +02:00
rte_fbk_hash.h
rte_hash_crc.h hash: explicit casts for truncation in CRC32c 2018-05-13 22:45:37 +02:00
rte_hash_version.map hash: add bulk lookup with signatures array 2020-04-25 19:26:47 +02:00
rte_hash.h hash: add bulk lookup with signatures array 2020-04-25 19:26:47 +02:00
rte_jhash.h hash: replace license text with SPDX tag 2019-07-29 13:31:45 +02:00
rte_thash.h replace alignment attributes 2020-04-16 18:16:18 +02:00