netdev-dpdk: Fix leak on netdev_dpdk_vhost_user_construct failure.
authorIlya Maximets <i.maximets@samsung.com>
Tue, 2 Feb 2016 11:02:16 +0000 (14:02 +0300)
committerBen Pfaff <blp@ovn.org>
Tue, 2 Feb 2016 18:41:09 +0000 (10:41 -0800)
commit1a64eb93c9f1151811b188bc4fe63b72a945e264
tree3637d45e3668595954181a8d2a0adebff540ac16
parente5c0f5a4452e368bbe4f24e9f5a591965399d0fa
netdev-dpdk: Fix leak on netdev_dpdk_vhost_user_construct failure.

Memory pool for vhost-user ports always created even if construction
fails. And message about successfull socket creation also printed.

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/netdev-dpdk.c