From: Bruce Richardson <bruce.richardson@intel.com>
To: Anurag Mandal <anurag.mandal@intel.com>
Cc: <dev@dpdk.org>, <anatoly.burakov@intel.com>
Subject: Re: [PATCH 1/2] net/ice: free memory with matching allocator
Date: Wed, 7 Oct 2026 09:04:25 +0100 [thread overview]
Message-ID: <asX9CRRFZAsArLss@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <c9d029d702469ebb734cdc1117ee55bfcafeadb0.1791356190.git.anurag.mandal@intel.com>
On Wed, Oct 07, 2026 at 07:58:19AM +0000, Anurag Mandal wrote:
> Several buffers allocated with ice_malloc(), ice_calloc() or
> ice_memdup() were released using rte_free() instead of ice_free().
> Both APIs currently map to the same underlying allocator.
> However, mixing them is inconsistent and could break if the
> inconsistent and could break if the OS abstraction layer changes.
>
> Use ice_free() for all memory obtained through the ice_malloc()
> family.
>
> Signed-off-by: Anurag Mandal <anurag.mandal@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
next prev parent reply other threads:[~2026-10-07 8:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-07 7:58 [PATCH 0/2] net/ice: fix memory handling issues Anurag Mandal
2026-10-07 7:58 ` [PATCH 1/2] net/ice: free memory with matching allocator Anurag Mandal
2026-10-07 8:04 ` Bruce Richardson [this message]
2026-10-07 7:58 ` [PATCH 2/2] net/ice: fix unchecked Tx time context allocation Anurag Mandal
2026-10-07 9:31 ` [PATCH 0/2] net/ice: fix memory handling issues Bruce Richardson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=asX9CRRFZAsArLss@bricha3-mobl1.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=anatoly.burakov@intel.com \
--cc=anurag.mandal@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox