net/ixgbe: fix generic filter return
Fix generic filter return info is not readable when repeat to create a rule. Fixes: 72c135a89f8 ("net/ixgbe: create consistent filter") Cc: stable@dpdk.org Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
This commit is contained in:
parent
0011c82628
commit
c306ee121a
@ -2589,6 +2589,9 @@ ixgbe_flow_create(struct rte_eth_dev *dev,
|
||||
out:
|
||||
TAILQ_REMOVE(&ixgbe_flow_list,
|
||||
ixgbe_flow_mem_ptr, entries);
|
||||
rte_flow_error_set(error, -ret,
|
||||
RTE_FLOW_ERROR_TYPE_HANDLE, NULL,
|
||||
"Failed to create flow.");
|
||||
rte_free(ixgbe_flow_mem_ptr);
|
||||
rte_free(flow);
|
||||
return NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user