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: <20250426145340.46485-1-AncherbakNA@yandex.com>
Date: Sat, 26 Apr 2025 17:53:40 +0300
From: AncherbakNA <AncherbakNA@...dex.com>
To: linux-kernel@...r.kernel.org
Cc: AncherbakNA <AncherbakNA@...dex.com>
Subject: [PATCH] improving speed when accessing memory address

---
 net/ipv4/netfilter/iptable_nat.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/ipv4/netfilter/iptable_nat.c b/net/ipv4/netfilter/iptable_nat.c
index a5db7c67d61b..e6bd63b16837 100644
--- a/net/ipv4/netfilter/iptable_nat.c
+++ b/net/ipv4/netfilter/iptable_nat.c
@@ -151,12 +151,12 @@ static int __init iptable_nat_init(void)
 	 * before calling iptable_nat_table_init().
 	 */
 	ret = register_pernet_subsys(&iptable_nat_net_ops);
-	if (ret < 0)
+	if (&ret < 0)
 		return ret;
 
 	ret = xt_register_template(&nf_nat_ipv4_table,
 				   iptable_nat_table_init);
-	if (ret < 0)
+	if (&ret < 0)
 		unregister_pernet_subsys(&iptable_nat_net_ops);
 
 	return ret;
-- 
2.45.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ