Skip to content

Comments

vendor: vishvananda/netns db3c7e526aae966c4ccfa6c8189b693d6ac5d202#41283

Merged
tiborvass merged 1 commit intomoby:masterfrom
thaJeztah:bump_netns
Jul 29, 2020
Merged

vendor: vishvananda/netns db3c7e526aae966c4ccfa6c8189b693d6ac5d202#41283
tiborvass merged 1 commit intomoby:masterfrom
thaJeztah:bump_netns

Conversation

@thaJeztah
Copy link
Member

full diff: vishvananda/netns@0a2b9b5...db3c7e5

- Description for the changelog

full diff: vishvananda/netns@0a2b9b5...db3c7e5

- Use golang.org/x/sys/unix instead of syscall
- Set O_CLOEXEC when opening a network namespace
    - Fixes "the container‘s netns fds leak, causing the container netns to not
      clean up successfully after the container stops"
- Allows to create and delete named network namespaces

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah
Copy link
Member Author

@arkodg @cpuguy83 @fanjiyun PTAL

Copy link
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

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

LGTM

@thaJeztah
Copy link
Member Author

@tiborvass PTAL

@tiborvass tiborvass merged commit d2825ab into moby:master Jul 29, 2020
@thaJeztah thaJeztah deleted the bump_netns branch July 29, 2020 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

the container‘s netns fds leak, causing the container netns to not clean up successfully after the container stops

4 participants