-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release-1.22] Make connection tracking resiliant to connection reuse (…
…#995) * Make connection tracking resiliant to connection reuse We have a race where if I open a connection with the same 4 tuple too quickly, we would occasionally fail to track. This is due to ordering: * New connection register * Old connection close * New connection track -- fails Now, we make sure we account (in count) for the new connection in register so we don't have this race. Hard to test in unit tests or even integration; I used netperf TCP_CRR and its pretty easy to trigger. * Track and register together --------- Co-authored-by: John Howard <[email protected]>
- Loading branch information
1 parent
ae64e55
commit 0ecd5de
Showing
2 changed files
with
97 additions
and
122 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