[DPDK/ethdev Bug 1710] net/bnxt build failure with LTO enabled

bugzilla at dpdk.org bugzilla at dpdk.org
Mon Jan 19 19:47:09 CET 2026


http://bugs.dpdk.org/show_bug.cgi?id=1710

Stephen Hemminger (stephen at networkplumber.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Stephen Hemminger (stephen at networkplumber.org) ---
Fixed by

commit 49b1673ec6693a673b4dc07984023f481cce4d96
Author: Stephen Hemminger <stephen at networkplumber.org>
Date:   Wed May 21 12:37:27 2025 -0700

    net/bnxt: fix free of not allocated object

    This was found as error when compiling with LTO.
    The function allocates new data with rte_zmalloc and then
    stores pointer in the pointer-to-pointer passed as argument.
    In the unwind case, it would call rte_free() with wrong one.

    Fixes: 80317ff6adfd ("net/bnxt/tf_core: support Thor2")

    Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list