From: David Miller <davem@davemloft.net>
To: jpirko@redhat.com
Cc: netdev@vger.kernel.org, kleptog@svana.org, jchapman@katalix.com
Subject: Re: [PATCH net-next-2.6] l2tp_eth: fix memory allocation
Date: Fri, 23 Apr 2010 16:37:54 -0700 (PDT) [thread overview]
Message-ID: <20100423.163754.252827908.davem@davemloft.net> (raw)
In-Reply-To: <20100423110151.GB2853@psychotron.lab.eng.brq.redhat.com>
From: Jiri Pirko <jpirko@redhat.com>
Date: Fri, 23 Apr 2010 13:01:52 +0200
> Since .size is set properly in "struct pernet_operations l2tp_eth_net_ops",
> allocating space for "struct l2tp_eth_net" by hand is not correct, even causes
> memory leakage.
>
> Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Also applied, thanks Jiri.
prev parent reply other threads:[~2010-04-23 23:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-23 11:01 [PATCH net-next-2.6] l2tp_eth: fix memory allocation Jiri Pirko
2010-04-23 23:37 ` David Miller [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=20100423.163754.252827908.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=jchapman@katalix.com \
--cc=jpirko@redhat.com \
--cc=kleptog@svana.org \
--cc=netdev@vger.kernel.org \
/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