net/ice: fix deadlock on flow redirect
authorDapeng Yu <dapengx.yu@intel.com>
Mon, 11 Oct 2021 07:38:49 +0000 (15:38 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Wed, 13 Oct 2021 10:53:28 +0000 (12:53 +0200)
commitcc2f82b96a64789cc72beeb775a3a3543b5f2064
tree3b72a743acd7375b2aaacb86838718723291c460
parent250e2ed8d85d038ce864052ebd6f9af51db40df2
net/ice: fix deadlock on flow redirect

If flow redirect failed, the spinlock will not be unlocked.
This patch fixes it.

Fixes: bc9201388d56 ("net/ice: support flow redirect")
Cc: stable@dpdk.org
Signed-off-by: Dapeng Yu <dapengx.yu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_generic_flow.c