summaryrefslogtreecommitdiff
path: root/net/l2tp/l2tp_eth.c
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2010-04-23 04:53:39 +0400
committerDavid S. Miller <davem@davemloft.net>2010-04-24 03:37:32 +0400
commite773aaff8295e7f3428d9cf6f8a476a33de00716 (patch)
treecdfe16f60d218a7e0ffb4dddd3ff1428703e4190 /net/l2tp/l2tp_eth.c
parent3b51cc996e81d8a113416d8094fa4a88f8360a51 (diff)
downloadlinux-e773aaff8295e7f3428d9cf6f8a476a33de00716.tar.xz
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 <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_eth.c')
0 files changed, 0 insertions, 0 deletions