net/i40e/base: release spinlock before function returns
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 9 Jan 2018 20:30:02 +0000 (15:30 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit11c52927ff9907ea7b18991b8eee392b9e294ffa
tree72cbd16f0daf1a60fdc62e1f148748fd60f7a94e
parent2954665d3f79160138690cc3408c1ed0c6dcfa4d
net/i40e/base: release spinlock before function returns

Fix a bug that adminq spin lock is not be released before function
i40e_nvmupd_command returns.

Fixes: 5a2e46a3e405 ("net/i40e/base: refactor NVM update command processing")
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_nvm.c