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

Set O_CLOEXEC when opening a network namespace #43

Merged
merged 1 commit into from
Jul 28, 2020

Conversation

fanjiyun
Copy link
Contributor

Set O_CLOEXEC when opening a network namespace

Fix: moby/moby/issues/41136
the container‘s netns fds leak, causing the container netns to not clean up successfully after the container stop

Signed-off-by: fanjiyun fan.jiyun@zte.com.cn

Signed-off-by: fanjiyun <fan.jiyun@zte.com.cn>
@thaJeztah
Copy link
Contributor

@vishvananda PTAL

@thaJeztah
Copy link
Contributor

@vishvananda @tklauser ptal

Copy link
Contributor

@tklauser tklauser left a comment

Choose a reason for hiding this comment

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

LGTM

@tklauser
Copy link
Contributor

tklauser commented Jul 9, 2020

@thaJeztah
Copy link
Contributor

@aboch can you help out getting this merged?

@fanjiyun
Copy link
Contributor Author

@thaJeztah @tklauser @aboch is there anything I need to do for this PR? thanks.

@aboch
Copy link
Collaborator

aboch commented Jul 28, 2020

ping @vishvananda

@thaJeztah
Copy link
Contributor

Also, @vishvananda are you interested in having more maintainers added to this repository to help out? If so, I can look for some people to help on that.

@vishvananda
Copy link
Owner

this looks good. Pull requests are so rare to this repo i haven't been paying attention. I could add @aboch to have a backup

@vishvananda vishvananda merged commit 1e46305 into vishvananda:master Jul 28, 2020
@thaJeztah
Copy link
Contributor

Thanks! Yes, looks like it's fairly stable/low maintenance. Having @aboch added (if he's interested 🤗) would be appreciated

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