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: 278f945402c5 ("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
..
2016-06-07 10:02:39 +02:00
2016-07-15 22:12:37 +02:00
2016-06-29 13:33:01 +02:00
2016-07-16 11:13:22 +02:00
2016-06-14 17:24:15 +02:00
2015-08-03 12:43:01 +02:00