[U-Boot] [PATCH] sh_eth.c: EDMAC descriptor leak

Wolfgang Denk wd at denx.de
Wed Jul 27 23:19:26 CEST 2011


Dear Yoshinori Sato,

In message <87vcxbp69w.wl%ysato at users.sourceforge.jp> you wrote:
> Hi,
> 
> I found memory leak in sh_eth.c.
> sh_eth_desc_init call for many times in network problem.
> And it every time allocate new descriptor. So leak old descriptor.
> 
> I will fix this patch.
> 
> diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c
> index 17dd0d2..f805785 100644

Can you please resubmit this with your Signed-off-by: line added?
Please see http://www.denx.de/wiki/U-Boot/Patches for additional help
how to create and submit patches.

Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If the facts don't fit the theory, change the facts.
                                                   -- Albert Einstein


More information about the U-Boot mailing list