From: Eric Dumazet Date: Tue, 8 Jun 2010 23:39:10 +0000 (+0000) Subject: pkt_sched: gen_estimator: add a new lock X-Git-Tag: v2.6.35-rc3~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae638c47dc040b8def16d05dc6acdd527628f231;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed