mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-09 00:30:53 +00:00
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>