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

Next file: linux/net/sched/police.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.3/linux/net/sched/estimator.c linux/net/sched/estimator.c
@@ -171,8 +171,9 @@
 				pest = &est->next;
 				continue;
 			}
-			/* ATOMIC_SET */
+			net_serialize_enter();
 			*pest = est->next;
+			net_serialize_leave();
 			kfree(est);
 			killed++;
 		}

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