[U-Boot] [PATCH] Net: FEC: Fix huge memory leak

Stefano Babic sbabic at denx.de
Thu Nov 21 10:28:20 CET 2013


Hi Marek,

On 12/10/2013 20:36, Marek Vasut wrote:
> The fec_halt() never free'd both RX and TX DMA descriptors that
> were allocated in fec_init(), nor did it free the RX buffers.
> Rework the FEC driver so that these descriptors and buffers are
> allocated only once in fec_probe().
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Fabio Estevam <fabio.estevam at freescale.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list