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

netlink: cleanup interfaces upon removal #229

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xdbob
Copy link

@xdbob xdbob commented Feb 15, 2024

Previously, when an interface was removed radvd did not release it's multicast membership leaking kernel resources leading to a potential out of memory failure of the setsockopt([...], IPV6_ADD_MEMBERSHIP, [...]) call.

Fixes #228

Previously, when an interface was removed radvd did not release it's
multicast membership leaking kernel resources leading to a potential out
of memory failure of the `setsockopt([...], IPV6_ADD_MEMBERSHIP, [...])`
call.

Signed-off-by: Antoine Damhet <[email protected]>
@xdbob
Copy link
Author

xdbob commented Apr 12, 2024

@robbat2 did you have time to look ? as a side-note the code is running on multiple thousand of machines since late February without issue yet

@Neustradamus
Copy link
Member

@reubenhwk: What do you think?

@reubenhwk
Copy link
Collaborator

I've look over the change and I agree that it is correct. It should be merged.

@reubenhwk reubenhwk self-assigned this Sep 4, 2024
@reubenhwk reubenhwk self-requested a review September 4, 2024 21:03
Copy link
Collaborator

@reubenhwk reubenhwk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks correct to me.

@robbat2
Copy link
Member

robbat2 commented Sep 6, 2024

Why did the CI not run for the PR?

Copy link
Member

@robbat2 robbat2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approving to see if CI runs

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

Successfully merging this pull request may close these issues.

memory leak in kernel space because the memory registered by IPV6_ADD_MEMBERLAND is not released
4 participants