diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-09-28 23:49:57 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-28 23:49:57 +0000 |
commit | d99063318481128c2151cd1901bff5b4aa684c3e (patch) | |
tree | e912e53f8a8fee722303c2d3a9933df5cb41e7e4 /pkg/sentry/socket/netlink | |
parent | 651b81cca8a2542c0b0f2de1e8af7c66511c24c6 (diff) |
Merge release-20200921.0-57-g237b761f9 (automated)
Diffstat (limited to 'pkg/sentry/socket/netlink')
-rw-r--r-- | pkg/sentry/socket/netlink/provider_vfs2.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/sentry/socket/netlink/provider_vfs2.go b/pkg/sentry/socket/netlink/provider_vfs2.go index e8930f031..bb205be0d 100644 --- a/pkg/sentry/socket/netlink/provider_vfs2.go +++ b/pkg/sentry/socket/netlink/provider_vfs2.go @@ -52,7 +52,6 @@ func (*socketProviderVFS2) Socket(t *kernel.Task, stype linux.SockType, protocol vfsfd := &s.vfsfd mnt := t.Kernel().SocketMount() d := sockfs.NewDentry(t.Credentials(), mnt) - defer d.DecRef(t) if err := vfsfd.Init(s, linux.O_RDWR, mnt, d, &vfs.FileDescriptionOptions{ DenyPRead: true, DenyPWrite: true, |