Eric Dumazet c7de2cf053 pkt_sched: gen_kill_estimator() rcu fixes
gen_kill_estimator() API is incomplete or not well documented, since
caller should make sure an RCU grace period is respected before
freeing stats_lock.

This was partially addressed in commit 5d944c640b4
(gen_estimator: deadlock fix), but same problem exist for all
gen_kill_estimator() users, if lock they use is not already RCU
protected.

A code review shows xt_RATEEST.c, act_api.c, act_police.c have this
problem. Other are ok because they use qdisc lock, already RCU
protected.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-06-11 18:37:08 -07:00
..
2010-05-17 23:23:12 -07:00
2010-05-17 23:23:12 -07:00
2008-03-17 22:46:46 -07:00
2010-05-17 23:23:12 -07:00
2010-03-23 13:06:14 -07:00
2010-05-23 23:11:07 -07:00
2010-04-20 19:06:52 -07:00