diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-08 23:39:10 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-11 05:53:52 (GMT) |
commit | ae638c47dc040b8def16d05dc6acdd527628f231 (patch) | |
tree | f3fa7015b8f4ed85d44d675d4a9f5f6c82063764 /net/core/pktgen.c | |
parent | 597a264b1a9c7e36d1728f677c66c5c1f7e3b837 (diff) | |
download | linux-fsl-qoriq-ae638c47dc040b8def16d05dc6acdd527628f231.tar.xz |
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/core/pktgen.c')
0 files changed, 0 insertions, 0 deletions