DPDK patches and discussions
 help / color / mirror / Atom feed
* [DPDK/ethdev Bug 1555] nfp: duplicate call to rte_free
@ 2024-09-28 16:37 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2024-09-28 16:37 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 960 bytes --]

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@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:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 2828 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-09-28 16:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-28 16:37 [DPDK/ethdev Bug 1555] nfp: duplicate call to rte_free bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).