net/i40e/base: gracefully clean the resources
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 25 Sep 2018 02:34:32 +0000 (10:34 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:47 +0000 (18:53 +0200)
commit49ea51605be46b48b12c2267b7c2a12d5ed1ed07
treee487013c2b83854c1af922e9c7bb6e9f5ba6e38f
parent02016804ed5e6a46f9162737bcdc78a3780332f5
net/i40e/base: gracefully clean the resources

Allocated resources were not freed in the event of failure in
i40e_init_asq function. This patch gracefully handles all failures.

Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/base/i40e_adminq.c