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 /lib/locking-selftest-rlock-softirq.h | |
parent | 597a264b1a9c7e36d1728f677c66c5c1f7e3b837 (diff) |
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 'lib/locking-selftest-rlock-softirq.h')
0 files changed, 0 insertions, 0 deletions