Re: [dpdk-dev] [PATCH] test/telemetry: fix error handling for socket

2020-10-19 Thread Thomas Monjalon
13/10/2020 18:45, Bruce Richardson: > On Tue, Oct 13, 2020 at 05:28:20PM +0100, Ciara Power wrote: > > When the socket connection failed, an error was printed to screen but > > the function did not return an error, and continued to try read from the > > socket. This is now corrected to close the so

Re: [dpdk-dev] [PATCH] test/telemetry: fix error handling for socket

2020-10-13 Thread Bruce Richardson
On Tue, Oct 13, 2020 at 05:28:20PM +0100, Ciara Power wrote: > When the socket connection failed, an error was printed to screen but > the function did not return an error, and continued to try read from the > socket. This is now corrected to close the socket and return -1 when the > connection fai

[dpdk-dev] [PATCH] test/telemetry: fix error handling for socket

2020-10-13 Thread Ciara Power
When the socket connection failed, an error was printed to screen but the function did not return an error, and continued to try read from the socket. This is now corrected to close the socket and return -1 when the connection fails. Fixes: bd78cf693ebd ("test/telemetry: add unit tests for data to