ipc: fix send error handling
authorAnatoly Burakov <anatoly.burakov@intel.com>
Fri, 26 Apr 2019 10:27:17 +0000 (11:27 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 3 May 2019 12:25:55 +0000 (14:25 +0200)
commit535113907f23134375b18f40b6642a963ec50141
treee04fd0c08be1a1f273d7d70a2bebedec6919c3fb
parent388e061ecfe42446d51d8a90dabce6b43fd76167
ipc: fix send error handling

According to manpage, ENOBUFS error indicates that either the
input or the output queue is full. This should be considered
an error, but it is treated as an "ignore" condition. Fix the
code to report an error instead.

Fixes: bacaa2754017 ("eal: add channel for multi-process communication")
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Rami Rosen <ramirose@gmail.com>
lib/librte_eal/common/eal_common_proc.c