summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormajianpeng <majianpeng@gmail.com>2012-04-16 19:58:28 +0000
committerDavid S. Miller <davem@davemloft.net>2012-04-18 00:20:28 -0400
commit798ec84d45754403571d6387396236e877965c5a (patch)
tree7f1c573b784c480a4ebfc1129ff916952e5a66ef /net
parent7f593881089084640bffeb93c9cc49077afcec81 (diff)
downloadlinux-798ec84d45754403571d6387396236e877965c5a.tar.bz2
net/core:Remove memleak reports by kmemleak_not_leak.
Signed-off-by: majianpeng <majianpeng@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/sysctl_net_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c
index 0c2850874254..cee599190261 100644
--- a/net/core/sysctl_net_core.c
+++ b/net/core/sysctl_net_core.c
@@ -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);
}