commit | ae638c47dc040b8def16d05dc6acdd527628f231 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Tue Jun 08 23:39:10 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 10 22:53:52 2010 -0700 |
tree | f3fa7015b8f4ed85d44d675d4a9f5f6c82063764 | |
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>