diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-04-23 02:53:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-24 01:37:32 +0200 |
commit | e773aaff8295e7f3428d9cf6f8a476a33de00716 (patch) | |
tree | cdfe16f60d218a7e0ffb4dddd3ff1428703e4190 /kernel/kmod.c | |
parent | Merge branch 'master' into for-davem (diff) | |
download | linux-e773aaff8295e7f3428d9cf6f8a476a33de00716.tar.xz 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 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions