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

[release-v3.28] Auto pick #9307: Fix memory leak when there is a pod churn #9308

Open
wants to merge 1 commit into
base: release-v3.28
Choose a base branch
from

Conversation

tomastigera
Copy link
Contributor

Cherry pick of #9307 on release-v3.28.

#9307: Fix memory leak when there is a pod churn

Original PR Body below

Description

When there is a workload update, we add an entry to the nameToIface map. When there is a workload remove, we set the interface info to 0 and delete the entry. In 3.28, new fields were added to interface info, which were not reset to 0 on workload remove.

Related issues/PRs

Todos

  • Tests
  • Documentation
  • Release note

Release Note

Fixed memory leak in BPF endpoint manager.

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.

@tomastigera tomastigera requested a review from a team as a code owner October 4, 2024 16:33
@tomastigera tomastigera added release-note-required Change has user-facing impact (no matter how small) docs-not-required Docs not required for this change labels Oct 4, 2024
@marvin-tigera marvin-tigera added this to the Calico v3.28.2 milestone Oct 4, 2024
@tomastigera tomastigera force-pushed the auto-pick-of-#9307-upstream-release-v3.28 branch from 50b93c0 to f6b78fe Compare October 30, 2024 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required Docs not required for this change 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.

4 participants