[DPDK/ethdev Bug 1555] nfp: duplicate call to rte_free
bugzilla at dpdk.org
bugzilla at dpdk.org
Sat Sep 28 18:37:13 CEST 2024
https://bugs.dpdk.org/show_bug.cgi?id=1555
Bug ID: 1555
Summary: nfp: duplicate call to rte_free
Product: DPDK
Version: 24.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: dev at dpdk.org
Reporter: stephen at networkplumber.org
Target Milestone: ---
This function nfp_pre_tun_table_check_del in nfp_flower_flow.c could call
rte_free twice on the same pointer.
static int
nfp_pre_tun_table_check_del(struct nfp_flower_representor *repr,
struct rte_flow *nfp_flow)
{
...
rte_free(entry);
rte_free(find_entry);
priv->pre_tun_cnt--;
free_entry:
rte_free(entry); << already freed above
return ret;
}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20240928/b33669d1/attachment.htm>
More information about the dev
mailing list