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 leak in netstack's tunnel device #10

Merged
merged 1 commit into from
Jul 19, 2024
Merged

Conversation

pinkisemils
Copy link
Contributor

@pinkisemils pinkisemils commented Jul 17, 2024

The upstream netstack's virtual tunnel device has a leaky Close implementation - the virtual network is not being shut down properly. What's missing is this one line change to shut down all the go routines associated with the userspace networking stack. This change is verbatim copied from kshangx's PR - WireGuard/wireguard-go#101


This change is Reviewable

The upstream netstack's virtual tunnel device has a leaky Close
implementation - the virtual network is not being shut down properly.
What's missing is this one line change to shut down all the go routines
associated with the userspace networking stack. This change is verbatim
copied from kshangx's PR - WireGuard/wireguard-go#101

Signed-off-by: kshangx <[email protected]>
@pinkisemils pinkisemils requested a review from Serock3 July 17, 2024 12:14
Copy link
Contributor

@Serock3 Serock3 left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @pinkisemils)

@pinkisemils pinkisemils merged commit 64250b7 into mullvad Jul 19, 2024
1 check passed
@faern faern deleted the fix-netstack-leak branch February 19, 2025 10:06
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.

3 participants