From 7f593881089084640bffeb93c9cc49077afcec81 Mon Sep 17 00:00:00 2001 From: majianpeng Date: Mon, 16 Apr 2012 19:33:31 +0000 Subject: [PATCH] net/ipv4:Remove two memleak reports by kmemleak_not_leak. Signed-off-by: majianpeng Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- net/ipv4/route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/route.c b/net/ipv4/route.c index ac4d6b3fa9c9..bcd4744e0e4e 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 -- 2.30.2