From: Jiri Pirko Date: Fri, 23 Apr 2010 00:53:39 +0000 (+0000) Subject: l2tp: fix memory allocation X-Git-Tag: v2.6.35-rc1~473^2~392 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e773aaff8295e7f3428d9cf6f8a476a33de00716;p=pandora-kernel.git l2tp: fix memory allocation Since .size is set properly in "struct pernet_operations l2tp_net_ops", allocating space for "struct l2tp_net" by hand is not correct, even causes memory leakage. Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- Reading git-diff-tree failed