projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f59388
)
net/core:Remove memleak reports by kmemleak_not_leak.
author
majianpeng
<majianpeng@gmail.com>
Mon, 16 Apr 2012 19:58:28 +0000
(19:58 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 18 Apr 2012 04:20:28 +0000
(
00:20
-0400)
Signed-off-by: majianpeng <majianpeng@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sysctl_net_core.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/sysctl_net_core.c
b/net/core/sysctl_net_core.c
index 0c2850874254edb2159380481c838ff3c2f8dd4f..cee5991902614cd6b226b92a7b90a7ee05be530d 100644
(file)
--- 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);
}