summaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
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 /include/linux/fs.h
parent3b51cc996e81d8a113416d8094fa4a88f8360a51 (diff)
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 'include/linux/fs.h')
0 files changed, 0 insertions, 0 deletions