diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-08 23:39:10 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-10 22:53:52 -0700 |
commit | ae638c47dc040b8def16d05dc6acdd527628f231 (patch) | |
tree | f3fa7015b8f4ed85d44d675d4a9f5f6c82063764 /net/sched | |
parent | 597a264b1a9c7e36d1728f677c66c5c1f7e3b837 (diff) | |
download | linux-3.10-ae638c47dc040b8def16d05dc6acdd527628f231.tar.gz linux-3.10-ae638c47dc040b8def16d05dc6acdd527628f231.tar.bz2 linux-3.10-ae638c47dc040b8def16d05dc6acdd527628f231.zip |
pkt_sched: gen_estimator: add a new lock
gen_kill_estimator() / gen_new_estimator() is not always called with
RTNL held.
net/netfilter/xt_RATEEST.c is one user of these API that do not hold
RTNL, so random corruptions can occur between "tc" and "iptables".
Add a new fine grained lock instead of trying to use RTNL in netfilter.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions