lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201204171358252962638@gmail.com>
Date:	Tue, 17 Apr 2012 13:58:28 +0800
From:	"majianpeng" <majianpeng@...il.com>
To:	"davem" <davem@...emloft.net>
Cc:	"netdev" <netdev@...r.kernel.org>
Subject: [PATCH] net/core:Remove  memleak reports bykmemeleak_not_leak.

>From 40131df5df1850b6d0a653f23698b13047c640ec Mon Sep 17 00:00:00 2001
From: majianpeng <majianpeng@...il.com>
Date: Tue, 17 Apr 2012 13:55:39 +0800
Subject: [PATCH] net/core:Remove  memleak reports bykmemeleak_not_leak.


Signed-off-by: majianpeng <majianpeng@...il.com>
---
 net/core/sysctl_net_core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c
index 0c28508..cee5991 100644
--- a/net/core/sysctl_net_core.c
+++ b/net/core/sysctl_net_core.c
@@ -256,7 +256,7 @@ static __init int sysctl_core_init(void)
 {
 	static struct ctl_table empty[1];
 
-	register_sysctl_paths(net_core_path, empty);
+	kmemleak_not_leak(register_sysctl_paths(net_core_path, empty));
 	register_net_sysctl_rotable(net_core_path, net_core_table);
 	return register_pernet_subsys(&sysctl_core_ops);
 }
-- 
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ