net/ipv4:Remove two memleak reports by kmemleak_not_leak.
authormajianpeng <majianpeng@gmail.com>
Mon, 16 Apr 2012 19:33:31 +0000 (19:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Apr 2012 04:20:28 +0000 (00:20 -0400)
Signed-off-by: majianpeng <majianpeng@gmail.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c

index ac4d6b3..bcd4744 100644 (file)
@@ -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