-
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.
[CENNSO-771] Fix overflow behavior of flowtable and cleanup (#375)
Remove logic of flow recycle during flow table overflow, since it was broken (crash or hang depending on situation), and also contradicts with NAT case (RFC6888 REQ-11). Also: - Remove flow entries per thread cache. It's not needed in new multithreading design - Make max flow lifetime to be constant 600 sec, since we do not have api to dynamically change it anyways - Use upf_llist intrusive linked list for timers instead of dlist for consistency and clearer interface - Change in flow node counters: - dropped due to flowtable overflow added - flow recycled removed, since we do not recycle flows anymore - unhandled (non-ip) packet renamed to more suitable packet without session
- Loading branch information
Showing
5 changed files
with
118 additions
and
299 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
Oops, something went wrong.