diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-08-29 00:23:35 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-29 00:23:35 +0000 |
commit | 433ffad27c0986b847e3b7927b9df33e0f24e38a (patch) | |
tree | 33d88d37badb56fabdec60c18d1090022caf59ea /pkg/sentry/socket/netstack | |
parent | 493e5248c4af7d4ab10b8874e466bf2a2eeb80d2 (diff) | |
parent | f6ddcbefac8d80d2d00eff90a48bbcd44b041c0f (diff) |
Merge release-20200818.0-87-gf6ddcbefa (automated)
Diffstat (limited to 'pkg/sentry/socket/netstack')
-rw-r--r-- | pkg/sentry/socket/netstack/netstack_vfs2.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/socket/netstack/netstack_vfs2.go b/pkg/sentry/socket/netstack/netstack_vfs2.go index 59fa4c58f..1f7d17f5f 100644 --- a/pkg/sentry/socket/netstack/netstack_vfs2.go +++ b/pkg/sentry/socket/netstack/netstack_vfs2.go @@ -56,6 +56,7 @@ func NewVFS2(t *kernel.Task, family int, skType linux.SockType, protocol int, qu mnt := t.Kernel().SocketMount() d := sockfs.NewDentry(t.Credentials(), mnt) + defer d.DecRef(t) s := &SocketVFS2{ socketOpsCommon: socketOpsCommon{ |