From: Moti Haimovsky Date: Mon, 5 Feb 2018 16:17:20 +0000 (+0200) Subject: net/tap: fix cleanup on allocation failure X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=cb7e68da630abe7bb7b69885cc2a1a8e6d705943;hp=cb7e68da630abe7bb7b69885cc2a1a8e6d705943;p=dpdk.git net/tap: fix cleanup on allocation failure This patch complements the partial cleanup done inside eth_dev_tap_create when the routine failed. Such a failure left a non-functional device attached to the system. Fixes: 050fe6e9ff97 ("drivers/net: use ethdev allocation helper for vdev") Cc: stable@dpdk.org Signed-off-by: Moti Haimovsky Acked-by: Pascal Mazon ---