summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormajianpeng <majianpeng@gmail.com>2012-04-16 19:33:31 +0000
committerDavid S. Miller <davem@davemloft.net>2012-04-18 00:20:28 -0400
commit7f593881089084640bffeb93c9cc49077afcec81 (patch)
tree888db46e3bf9b6b089b7da41665f34b1558a4693
parent85bba52de16e00161b757567a7f1af12dc1e526a (diff)
net/ipv4:Remove two memleak reports by kmemleak_not_leak.
Signed-off-by: majianpeng <majianpeng@gmail.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv4/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index ac4d6b3fa9c..bcd4744e0e4 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -3514,6 +3514,6 @@ int __init ip_rt_init(void)
*/
void __init ip_static_sysctl_init(void)
{
- register_sysctl_paths(ipv4_path, ipv4_skeleton);
+ kmemleak_not_leak(register_sysctl_paths(ipv4_path, ipv4_skeleton));
}
#endif