Skip to contentSkip to conversation

Remove bogus declaration of ipt_mutex

PATCH New Harald Welte 1 participant 1 message Jul 29, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove bogus declaration of ipt_mutex

Hi Marcelo!

Please apply the following trivial fix to your 2.4.32-preX tree:

[NETFILTER] Remove bogus declaration of ipt_mutex

Fix compiler error (gcc-4.0) for bogus declaration of ipt_mutex

include/linux/netfilter_ipv4/ip_tables.h +0 -2
diff -Nru linux-2.4.31/include/linux/netfilter_ipv4/ip_tables.h linux-2.4.32-pre2/include/linux/netfilter_ipv4/ip_tables.h
@@ -283,8 +283,6 @@
 	struct ipt_entry entrytable[0];
 };
 
-extern struct semaphore ipt_mutex;
-
 /* Standard return verdict, or do jump. */
 #define IPT_STANDARD_TARGET ""
 /* Error verdict. */
Signature · 5 lines
- Harald Welte <[email protected]>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie