summaryrefslogtreecommitdiffstats
path: root/net/sched/estimator.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-06-13 16:29:25 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-06-13 16:29:25 +0000
commitdb7d4daea91e105e3859cf461d7e53b9b77454b2 (patch)
tree9bb65b95440af09e8aca63abe56970dd3360cc57 /net/sched/estimator.c
parent9c1c01ead627bdda9211c9abd5b758d6c687d8ac (diff)
Merge with Linux 2.2.8.
Diffstat (limited to 'net/sched/estimator.c')
-rw-r--r--net/sched/estimator.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/sched/estimator.c b/net/sched/estimator.c
index 463879606..d51017c84 100644
--- a/net/sched/estimator.c
+++ b/net/sched/estimator.c
@@ -171,8 +171,10 @@ void qdisc_kill_estimator(struct tc_stats *stats)
pest = &est->next;
continue;
}
- /* ATOMIC_SET */
+
*pest = est->next;
+ synchronize_bh();
+
kfree(est);
killed++;
}