summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_blackhole.c
diff options
context:
space:
mode:
authorJarek Poplawski <jarkao2@gmail.com>2008-11-27 00:24:32 +0100
committerDavid S. Miller <davem@davemloft.net>2008-11-27 00:24:32 +0100
commit244e6c2d0724bc4908a1995804704bdee3b31528 (patch)
treee208a765607733401302bf8582b37d1adab63c08 /net/sched/sch_blackhole.c
parentsmc-mca: Fix build failure due to typo. (diff)
downloadlinux-244e6c2d0724bc4908a1995804704bdee3b31528.tar.xz
linux-244e6c2d0724bc4908a1995804704bdee3b31528.zip
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 <jarkao2@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_blackhole.c')
0 files changed, 0 insertions, 0 deletions