patch-2.3.1 linux/net/core/firewall.c

Next file: linux/net/core/rtnetlink.c
Previous file: linux/net/core/datagram.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/net/core/firewall.c linux/net/core/firewall.c
@@ -13,7 +13,7 @@
 #include <linux/interrupt.h>
 #include <asm/semaphore.h>
 
-struct semaphore firewall_sem = MUTEX; 
+DECLARE_MUTEX(firewall_sem);
 static int firewall_policy[NPROTO];
 static struct firewall_ops *firewall_chain[NPROTO];
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)