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 ac4d6b3fa9c9943ed5c74f3c264630ec0ff2ce83..bcd4744e0e4e478a714a3571bb37e73fab03b976 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