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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 4 Dec 2006 10:50:43 +0100
From:	Mariusz Kozlowski <m.kozlowski@...land.pl>
To:	davem@...emloft.net
Cc:	netdev@...r.kernel.org, Willy Tarreau <wtarreau@...a.kernel.org>
Subject: [2.4 PATCH] netfilter broken and unused macro removal

Hello,

        This patch removes broken and unused macro from netfilter code.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@...land.pl>

 net/ipv4/netfilter/ip_nat_standalone.c |    6 ------
 1 file changed, 6 deletions(-)

--- linux-2.4.34-pre6-a/net/ipv4/netfilter/ip_nat_standalone.c	2005-11-16 20:12:54.000000000 +0100
+++ linux-2.4.34-pre6-b/net/ipv4/netfilter/ip_nat_standalone.c	2006-12-01 12:10:42.000000000 +0100
@@ -43,12 +43,6 @@
 #define DEBUGP(format, args...)
 #endif
 
-#define HOOKNAME(hooknum) ((hooknum) == NF_IP_POST_ROUTING ? "POST_ROUTING"  \
-			   : ((hooknum) == NF_IP_PRE_ROUTING ? "PRE_ROUTING" \
-			      : ((hooknum) == NF_IP_LOCAL_OUT ? "LOCAL_OUT"  \
-			         : ((hooknum) == NF_IP_LOCAL_IN ? "LOCAL_IN"  \
-				    : "*ERROR*")))
-
 static inline int call_expect(struct ip_conntrack *master,
 			      struct sk_buff **pskb,
 			      unsigned int hooknum,


-- 
Regards,

	Mariusz Kozlowski
-
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