[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <201204171333149372727@gmail.com>
Date: Tue, 17 Apr 2012 13:33:31 +0800
From: "majianpeng" <majianpeng@...il.com>
To: "eric.dumazet" <eric.dumazet@...il.com>
Cc: "netdev" <netdev@...r.kernel.org>
Subject: [PATCH] net/ipv4:Remove two memleak reports by kmemeleak_not_leak.
>From fe9ae7e12cc7bdc56705eb504facb71aa86dfe65 Mon Sep 17 00:00:00 2001
From: majianpeng <majianpeng@...il.com>
Date: Tue, 17 Apr 2012 13:29:55 +0800
Subject: [PATCH] net/ipv4:Remove two memleak reports by kmemeleak_not_leak.
Signed-off-by: majianpeng <majianpeng@...il.com>
---
net/ipv4/route.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 167ea10..dd15648 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -3505,6 +3505,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
--
1.7.5.4
--------------
majianpeng
2012-04-17
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists