net/tap: fix memory leak on IPC request
authorHerakliusz Lipiec <herakliusz.lipiec@intel.com>
Thu, 25 Apr 2019 12:48:17 +0000 (13:48 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 3 May 2019 10:52:43 +0000 (12:52 +0200)
commit388e061ecfe42446d51d8a90dabce6b43fd76167
tree23e92f749ec4288130c0066af1ca9fb0d51bdda1
parenta2a06860b8c4cb4460044fa40c867fa2e908035d
net/tap: fix memory leak on IPC request

When sending synchronous IPC requests, the caller must free the response
buffer if the request was successful and reply is no longer needed.
Fix the code to correctly
use the IPC API.

Bugzilla ID: 228
Fixes: c9aa56edec8e ("net/tap: access primary process queues from secondary")
Cc: stable@dpdk.org
Signed-off-by: Herakliusz Lipiec <herakliusz.lipiec@intel.com>
Acked-by: Keith Wiles <keith.wiles@intel.com>
drivers/net/tap/rte_eth_tap.c