net: sched: make bstats per cpu and estimator RCU safe
[linux-2.6-block.git] / net / sched / act_police.c
index f32bcb0949154c5992eeb93e3e6b8ff576812060..69791ca77a05f6231b1349bce5aeb38aa018bd8c 100644 (file)
@@ -178,7 +178,7 @@ override:
 
        spin_lock_bh(&police->tcf_lock);
        if (est) {
-               err = gen_replace_estimator(&police->tcf_bstats,
+               err = gen_replace_estimator(&police->tcf_bstats, NULL,
                                            &police->tcf_rate_est,
                                            &police->tcf_lock, est);
                if (err)