patch-2.2.0-pre2 linux/net/core/firewall.c

Next file: linux/net/ipv4/devinet.c
Previous file: linux/net/core/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre1/linux/net/core/firewall.c linux/net/core/firewall.c
@@ -10,6 +10,7 @@
 #include <linux/skbuff.h>
 #include <linux/firewall.h>
 #include <linux/init.h>
+#include <linux/interrupt.h>
 #include <asm/semaphore.h>
 
 struct semaphore firewall_sem = MUTEX; 
@@ -89,6 +90,7 @@
 			struct firewall_ops *f=fw->next;
 			*nl = f;
 			up(&firewall_sem); 
+			synchronize_bh();
 			return 0;
 		}
 		nl=&((*nl)->next);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov