-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expire only unused dynamic routes instead of flushing all of them
When expiring periodically (option -c), look at packet counters for each dynamic route and flush only those which were not used during the last period. This avoids toggling between different ingress interfaces if traffic arrives on several interfaces simultaneously. In this case, the first selected ingress interface is retained until traffic on it ceases. Not flushing while there is still traffic also avoids unnecessary MFC cache misses in the kernel which may cause packet loss in certain situations (e.g. bursty traffic or too many cache misses for different groups/source addresses at once). Signed-off-by: Martin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org>
- Loading branch information
1 parent
b0ea024
commit f6df53e
Showing
4 changed files
with
84 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters