bus/vdev: fix multi-process IPC buffer leak on scan
authorPaul Luse <paul.e.luse@intel.com>
Fri, 21 Sep 2018 16:25:57 +0000 (12:25 -0400)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 25 Oct 2018 08:28:13 +0000 (10:28 +0200)
commit66fd3a3b0f5be39ba30a2d6aa617604c8d221230
tree3c6830aaba4859194588b3f984ed28fcdb407344
parent97e476ad7c89303b21deea5b87fa0f0612d50f5c
bus/vdev: fix multi-process IPC buffer leak on scan

This patch fixes an issue caught with ASAN where a vdev_scan()
to a secondary bus was failing to free some memory.

The doxygen comment in EAL is fixed at the same time.

Fixes: cdb068f031c6 ("bus/vdev: scan by multi-process channel")
Fixes: 783b6e54971d ("eal: add synchronous multi-process communication")
Cc: stable@dpdk.org
Signed-off-by: Paul Luse <paul.e.luse@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/bus/vdev/vdev.c
lib/librte_eal/common/include/rte_eal.h