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@dpdk.org
Reporter stephen@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: