summaryrefslogtreecommitdiffstats
path: root/net/wanrouter/wanproc.c
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2010-04-23 00:53:39 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-23 16:37:32 -0700
commite773aaff8295e7f3428d9cf6f8a476a33de00716 (patch)
treecdfe16f60d218a7e0ffb4dddd3ff1428703e4190 /net/wanrouter/wanproc.c
parent3b51cc996e81d8a113416d8094fa4a88f8360a51 (diff)
downloadtalos-op-linux-e773aaff8295e7f3428d9cf6f8a476a33de00716.tar.gz
talos-op-linux-e773aaff8295e7f3428d9cf6f8a476a33de00716.zip
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/wanrouter/wanproc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud