summaryrefslogtreecommitdiff
path: root/net/sched/act_police.c
diff options
context:
space:
mode:
authorJarek Poplawski <jarkao2@gmail.com>2009-01-12 21:54:16 -0800
committerDavid S. Miller <davem@davemloft.net>2009-01-12 21:54:16 -0800
commitc08513471911cf33cb50249a7ff12848374f7263 (patch)
tree9310f25b012fd7ecb8eb58ec0b0caa8dc834438e /net/sched/act_police.c
parentdaaf83d2b9277928739f3eb7ea64f49c1254fd62 (diff)
pkt_sched: sch_htb: Consider used jiffies in htb_do_events()
Next event time should consider jiffies used for recounting. Otherwise qdisc_watchdog_schedule() triggers hrtimer immediately with the event in the past, and may cause very high ksoftirqd cpu usage (if highres is on). There is also removed checking "event" for zero in htb_dequeue(): it's always true in this place. Signed-off-by: Jarek Poplawski <jarkao2@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_police.c')
0 files changed, 0 insertions, 0 deletions