patch-2.2.5 linux/net/sched/cls_api.c

Next file: linux/net/sched/cls_fw.c
Previous file: linux/net/netlink/af_netlink.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.4/linux/net/sched/cls_api.c linux/net/sched/cls_api.c
@@ -226,9 +226,9 @@
 
 	if (fh == 0) {
 		if (n->nlmsg_type == RTM_DELTFILTER && t->tcm_handle == 0) {
-			net_serialize_enter();
 			*back = tp->next;
-			net_serialize_leave();
+			synchronize_bh();
+
 			tp->ops->destroy(tp);
 			kfree(tp);
 			err = 0;

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