numam-dpdk/lib/librte_eal
Zoltan Kiss 32e17fd571 mem: allow full length name
(strlen(name) == sizeof(mz->name) - 1) is a valid case, change the
condition to reflect that.
Move it earlier to avoid lookup with invalid name.
Change errno to ENAMETOOLONG.

Fixes: 85cf0079 ("mem: avoid memzone/mempool/ring name truncation")

Signed-off-by: Zoltan Kiss <zoltan.kiss@schaman.hu>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2016-07-21 23:05:01 +02:00
..
bsdapp spinlock: move constructor out of x86 header file 2016-07-15 17:26:52 +02:00
common mem: allow full length name 2016-07-21 23:05:01 +02:00
linuxapp vfio: fix coding style 2016-07-15 22:12:37 +02:00
Makefile config: remove EAL flags for OS environment 2016-03-05 11:09:31 +01:00