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

Next file: linux/net/sched/sch_prio.c
Previous file: linux/net/sched/cls_u32.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.4/linux/net/sched/estimator.c linux/net/sched/estimator.c
@@ -171,9 +171,10 @@
 				pest = &est->next;
 				continue;
 			}
-			net_serialize_enter();
+
 			*pest = est->next;
-			net_serialize_leave();
+			synchronize_bh();
+
 			kfree(est);
 			killed++;
 		}

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