On Tue, Oct 06, 2026 at 11:57:33AM +0200, Burakov, Anatoly wrote:
> On 9/30/2026 6:52 PM, Anurag Mandal wrote:
> > ice_phy_conf_link() allocates the PHY capabilities buffer and only
> > then validates hw->port_info.
> > If hw->port_info is NULL,it returns directly without freeing
> > PHY capabilities buffer causing the buffer leak.
> >
> > This patch fixes the issue by moving the hw->port_info NULL check
> > above the PHY capabilities buffer allocation.
> >
> > Fixes: 36afbc269081 ("net/ice: support link speed change")
> > Cc: [email protected]
> >
> > Signed-off-by: Anurag Mandal <[email protected]>
> > ---
>
> Acked-by: Anatoly Burakov <[email protected]>
>
Applied to dpdk-next-net-intel.
Thanks,
/Bruce