summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/control/control.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-18 23:47:52 +0000
committergVisor bot <gvisor-bot@google.com>2020-02-18 23:47:52 +0000
commitfa371ade4ddebabcfcd04b790af244450541525f (patch)
treef0d3bd1316becdf80fb091500ec3b3d591540425 /pkg/sentry/socket/control/control.go
parentf598e1fc898664c60e7ff6feedf0420db369b293 (diff)
parent56fd9504aab44a738d3df164cbee8e572b309f28 (diff)
Merge release-20200211.0-38-g56fd950 (automated)
Diffstat (limited to 'pkg/sentry/socket/control/control.go')
-rw-r--r--pkg/sentry/socket/control/control.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/socket/control/control.go b/pkg/sentry/socket/control/control.go
index 4667373d2..8834a1e1a 100644
--- a/pkg/sentry/socket/control/control.go
+++ b/pkg/sentry/socket/control/control.go
@@ -329,7 +329,7 @@ func PackTOS(t *kernel.Task, tos uint8, buf []byte) []byte {
}
// PackTClass packs an IPV6_TCLASS socket control message.
-func PackTClass(t *kernel.Task, tClass int32, buf []byte) []byte {
+func PackTClass(t *kernel.Task, tClass uint32, buf []byte) []byte {
return putCmsgStruct(
buf,
linux.SOL_IPV6,