From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, nobuhiro.iwamatsu.yj@renesas.com
Subject: Re: [PATCH 1/2] sh_eth: fix bitbang memory leak
Date: Wed, 20 Mar 2013 22:06:16 +0300 [thread overview]
Message-ID: <514A08A8.9080704@cogentembedded.com> (raw)
In-Reply-To: <20130320.122346.949755604432580585.davem@davemloft.net>
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@cogentembedded.com>
> Applied and queued up for -stable.
Thank you for the quick reaction! :-)
WBR, Sergei
prev parent reply other threads:[~2013-03-20 18:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-19 23:40 [PATCH 1/2] sh_eth: fix bitbang memory leak Sergei Shtylyov
2013-03-20 13:38 ` Sergei Shtylyov
2013-03-20 16:23 ` David Miller
2013-03-20 19:06 ` Sergei Shtylyov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=514A08A8.9080704@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=nobuhiro.iwamatsu.yj@renesas.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).