diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-04-23 03:01:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-24 01:37:33 +0200 |
commit | 3a737028630bb3c2b9efc38b9ddef2e09b06b808 (patch) | |
tree | d1d1a4fbaa71f966f4f9b793a792211d59fda834 /net/ipv6/ipv6_sockglue.c | |
parent | l2tp: fix memory allocation (diff) | |
download | linux-3a737028630bb3c2b9efc38b9ddef2e09b06b808.tar.xz linux-3a737028630bb3c2b9efc38b9ddef2e09b06b808.zip |
l2tp_eth: fix memory allocation
Since .size is set properly in "struct pernet_operations l2tp_eth_net_ops",
allocating space for "struct l2tp_eth_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/ipv6/ipv6_sockglue.c')
0 files changed, 0 insertions, 0 deletions