net/nfp: fix mask table free
The free process of mask table has problem, should use
'rte_hash_free()' rather than 'rte_free()'.
Fixes: ac09376096
("net/nfp: add structures and functions for flow offload")
Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com>
This commit is contained in:
parent
47a4e1fb2c
commit
860d735d32
@ -4116,7 +4116,7 @@ nfp_flow_priv_init(struct nfp_pf_dev *pf_dev)
|
||||
free_flow_table:
|
||||
rte_hash_free(priv->flow_table);
|
||||
free_mask_table:
|
||||
rte_free(priv->mask_table);
|
||||
rte_hash_free(priv->mask_table);
|
||||
free_stats:
|
||||
rte_free(priv->stats);
|
||||
free_stats_id:
|
||||
|
Loading…
Reference in New Issue
Block a user