[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100423.163754.252827908.davem@davemloft.net>
Date: Fri, 23 Apr 2010 16:37:54 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jpirko@...hat.com
Cc: netdev@...r.kernel.org, kleptog@...na.org, jchapman@...alix.com
Subject: Re: [PATCH net-next-2.6] l2tp_eth: fix memory allocation
From: Jiri Pirko <jpirko@...hat.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@...hat.com>
Also applied, thanks Jiri.
--
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