numam-dpdk/lib/librte_pdump
Reshma Pattan e4ffa2d3dc pdump: fix error handlings
The changes include
1)If mkdir fails for user passed socket paths log error and return.

2)At some places return value was set to errno and that non-negative number
was returned, but the intention was to return negative value.
So now rte_errno was set to errno and returning the actual negative value
that the APIs has returned.

Fixes: 278f945402 ("pdump: add new library for packet capture")

Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2016-07-16 11:13:22 +02:00
..
Makefile pdump: fix missing dependency on libpthread 2016-06-29 13:33:01 +02:00
rte_pdump_version.map pdump: add new library for packet capture 2016-06-16 23:39:56 +02:00
rte_pdump.c pdump: fix error handlings 2016-07-16 11:13:22 +02:00
rte_pdump.h pdump: add new library for packet capture 2016-06-16 23:39:56 +02:00