[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <514A08A8.9080704@cogentembedded.com>
Date: Wed, 20 Mar 2013 22:06:16 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: David Miller <davem@...emloft.net>
CC: netdev@...r.kernel.org, nobuhiro.iwamatsu.yj@...esas.com
Subject: Re: [PATCH 1/2] sh_eth: fix bitbang memory leak
Hello.
On 03/20/2013 07:23 PM, David Miller wrote:
>
>> sh_mdio_init() allocates pointer to 'struct bb_info' but only stores it locally,
>> so that sh_mdio_release() can't free it on driver unload. Add the pointer to
>> 'struct bb_info' to 'struct sh_eth_private', so that sh_mdio_init() can save
>> 'bitbang' variable for sh_mdio_release() to be able to free it later...
>>
>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
> Applied and queued up for -stable.
Thank you for the quick reaction! :-)
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists