summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/netlink/provider.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/socket/netlink/provider.go')
-rw-r--r--pkg/sentry/socket/netlink/provider.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/socket/netlink/provider.go b/pkg/sentry/socket/netlink/provider.go
index 863edc241..5dc103877 100644
--- a/pkg/sentry/socket/netlink/provider.go
+++ b/pkg/sentry/socket/netlink/provider.go
@@ -82,7 +82,7 @@ func (*socketProvider) Socket(t *kernel.Task, stype linux.SockType, protocol int
return nil, err
}
- s, err := NewSocket(t, p)
+ s, err := NewSocket(t, stype, p)
if err != nil {
return nil, err
}