Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit b82e192

Browse files
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: engine
1 parent 6922358 commit b82e192

4 files changed

Lines changed: 70 additions & 40 deletions

File tree

components/engine/vendor.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ github.com/hashicorp/go-sockaddr c7188e74f6acae5a989bdc959aa7
5050
github.com/hashicorp/go-multierror 886a7fbe3eb1c874d46f623bfa70af45f425b3d1 # v1.0.0
5151
github.com/hashicorp/serf 598c54895cc5a7b1a24a398d635e8c0ea0959870
5252
github.com/docker/libkv 458977154600b9f23984d9f4b82e79570b5ae12b
53-
github.com/vishvananda/netns 0a2b9b5464df8343199164a0321edf3313202f7e
53+
github.com/vishvananda/netns db3c7e526aae966c4ccfa6c8189b693d6ac5d202
5454
github.com/vishvananda/netlink a2ad57a690f3caf3015351d2d6e1c0b95c349752
5555

5656
# When updating, consider updating TOMLV_COMMIT in hack/dockerfile/install/tomlv.installer accordingly

components/engine/vendor/github.com/vishvananda/netns/go.mod

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/engine/vendor/github.com/vishvananda/netns/netns.go

Lines changed: 10 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/engine/vendor/github.com/vishvananda/netns/netns_linux.go

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

Comments
 (0)