Re: [dpdk-dev] [PATCH v2] net/tap: ipc add check for number of messages received

2019-04-19 Thread Ferruh Yigit
On 4/19/2019 11:28 AM, Herakliusz Lipiec wrote: > A sucessfull call to rte_mp_request_sync does not guarantee that there > are any messages in the buffer, and this should be checked for before > accessing data in the message. Buffer can be empty if IPC is disabled or > if we deciede to ignore repli

[dpdk-dev] [PATCH v2] net/tap: ipc add check for number of messages received

2019-04-19 Thread Herakliusz Lipiec
A sucessfull call to rte_mp_request_sync does not guarantee that there are any messages in the buffer, and this should be checked for before accessing data in the message. Buffer can be empty if IPC is disabled or if we deciede to ignore replies. Fixes: c9aa56edec8e ("net/tap: access primary proce