From: Jarek Poplawski Date: Wed, 26 Nov 2008 23:24:32 +0000 (-0800) Subject: pkt_sched: gen_estimator: Optimize gen_estimator_active() X-Git-Tag: v2.6.29-rc1~581^2~384 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=244e6c2d0724bc4908a1995804704bdee3b31528;p=pandora-kernel.git pkt_sched: gen_estimator: Optimize gen_estimator_active() Since all other gen_estimator functions use bstats and rate_est params together, and searching for them is optimized now, let's use this also in gen_estimator_active(). The return type of gen_estimator_active() is changed to bool, and gen_find_node() parameters to const, btw. In tcf_act_police_locate() a check for ACT_P_CREATED is added before calling gen_estimator_active(). Signed-off-by: Jarek Poplawski Signed-off-by: David S. Miller --- Reading git-diff-tree failed