-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix flow expiration and rescheduling (take 2)
The previous fix (#67) has a bug in it causing multiple rechecks for flow expirations around the flowtable timer wheel. Some redundant reshuffling of the per-wheel-entry flow lists has been removed. Besides, there was a problem in the flow node that was causing the flow expirations to be incorrectly rescheduled: flow_update_lifetime() was being invoked before flow_update_active() for the same flow.
- Loading branch information
1 parent
ed7e81d
commit 6214489
Showing
3 changed files
with
92 additions
and
84 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