patch-2.3.15 linux/net/sched/cls_u32.c
Next file: linux/net/sched/police.c
Previous file: linux/net/sched/cls_fw.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Mon Aug 23 10:01:02 1999
-  Orig file: 
v2.3.14/linux/net/sched/cls_u32.c
-  Orig date: 
Wed Jun  9 14:45:37 1999
diff -u --recursive --new-file v2.3.14/linux/net/sched/cls_u32.c linux/net/sched/cls_u32.c
@@ -52,8 +52,6 @@
 #include <net/sock.h>
 #include <net/pkt_sched.h>
 
-#define BUG_TRAP(x) if (!(x)) { printk("Assertion (" #x ") failed at " __FILE__ "(%d):" __FUNCTION__ "\n", __LINE__); }
-
 
 struct tc_u_knode
 {
@@ -488,7 +486,7 @@
 
 		sch_tree_lock(q);
 		police = xchg(&n->police, police);
-		sch_tree_lock(q);
+		sch_tree_unlock(q);
 
 		tcf_police_release(police);
 	}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)