Skip to content
Permalink
Browse files

Improve ingress-mode failsafe behaviour under sustained prior load.

  • Loading branch information...
chromi committed Jul 21, 2017
1 parent 06b301f commit 80528271b0eef37064b04d213071faf56f3f01bb
Showing with 4 additions and 1 deletion.
  1. +4 −1 sch_cake.c
@@ -1354,8 +1354,11 @@ static void cake_advance_shaper(struct cake_sched_data *q, struct cake_tin_data
b->tin_time_next_packet = now + tdiff2;

q->time_next_packet += tdiff3;
if(!drop)
if(!drop) {
q->failsafe_next_packet += tdiff4;
if(q->failsafe_next_packet > q->time_next_packet)
q->failsafe_next_packet = q->time_next_packet;
}
}
}

0 comments on commit 8052827

Please sign in to comment.
You can’t perform that action at this time.