This repository was archived by the owner on Oct 13, 2023. It is now read-only.
Commit b82e192
committed
vendor: vishvananda/netns db3c7e526aae966c4ccfa6c8189b693d6ac5d202
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 <github@gone.nl>
(cherry picked from commit 818bad6ef21e473a80a27564bd2219449633dbb8)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: dae08c333e1756cf9cf08ef43b5b3b7a3977b648
Component: engine1 parent 6922358 commit b82e192
4 files changed
Lines changed: 70 additions & 40 deletions
File tree
- components/engine
- vendor/github.com/vishvananda/netns
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 57 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments