Skip to content

Conversation

@Supreeth095
Copy link

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…dition

- Add tracking fields for IPv4 and IPv6 missing entries (even/odd cycles)
- Require entries to be missing for 2 consecutive cleanup cycles before deletion
- Update deletion logic in CleanupConntrackMap() and Cleanupv6ConntrackMap()
- Add cycle management (toggle between even/odd cycles)
- Update log messages to indicate 'consecutive miss' deletions
- Virtually eliminates race condition probability to ~0%

Trade-off: Stale entries may persist up to 2x cleanup period
Benefit: Prevents false deletion of active connections during 5-tuple reuse
@Supreeth095 Supreeth095 requested a review from a team as a code owner December 5, 2025 18:50
@yash97
Copy link
Contributor

yash97 commented Dec 5, 2025

can you describe the issue you are trying to solve. Also explain your solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants