提交 798ec84d 编写于 作者: M majianpeng 提交者: David S. Miller

net/core:Remove memleak reports by kmemleak_not_leak.

Signed-off-by: Nmajianpeng <majianpeng@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 7f593881
......@@ -256,7 +256,7 @@ static __init int sysctl_core_init(void)
{
static struct ctl_table empty[1];
register_sysctl_paths(net_core_path, empty);
kmemleak_not_leak(register_sysctl_paths(net_core_path, empty));
register_net_sysctl_rotable(net_core_path, net_core_table);
return register_pernet_subsys(&sysctl_core_ops);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册