Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cleanup dsr #9957

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix cleanup dsr #9957

wants to merge 2 commits into from

Conversation

fasaxc
Copy link
Member

@fasaxc fasaxc commented Mar 10, 2025

Description

Fix that BPF-based conntrack cleaner would expire DSR entries too soon due to missing type check.

  • Add macros to do the various checks.
  • Adjust code structure to match Go version of cleaner.
  • Add missing DSR check.

Related issues/PRs

CORE-10941

Todos

  • Tests
  • Documentation
  • Release note

Release Note

Fix that BPF-based conntrack cleaner would expire DSR entries too soon due to missing type check.

Reminder for the reviewer

Make sure that this PR has the correct labels and milestone set.

Every PR needs one docs-* label.

  • docs-pr-required: This change requires a change to the documentation that has not been completed yet.
  • docs-completed: This change has all necessary documentation completed.
  • docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

  • release-note-required: This PR has user-facing changes. Most PRs should have this label.
  • release-note-not-required: This PR has no user-facing changes.

Other optional labels:

  • cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
  • needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

fasaxc added 2 commits March 10, 2025 14:57
Was missing a check for DSR entries so it treated DSR
entries as "syn sent" instead of "established".
@fasaxc fasaxc requested a review from a team as a code owner March 10, 2025 14:59
@marvin-tigera marvin-tigera added this to the Calico v3.30.0 milestone Mar 10, 2025
@marvin-tigera marvin-tigera added release-note-required Change has user-facing impact (no matter how small) docs-pr-required Change is not yet documented labels Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-pr-required Change is not yet documented release-note-required Change has user-facing impact (no matter how small)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants