summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/control
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-12-24 17:03:51 +0000
committergVisor bot <gvisor-bot@google.com>2019-12-24 17:03:51 +0000
commit6d8d66038fd9439822069fd283761d7ea939a433 (patch)
tree188f7a8eee7a3c45dbbfb2871c40d0ea204d6b31 /pkg/sentry/socket/control
parent95108940a01c1c1bbf6e8924e27b6cf80ca78ba1 (diff)
parente013c48c78c9a7daf245b7de9563e3a0bd8a1e97 (diff)
Merge release-20191213.0-48-ge013c48 (automated)
Diffstat (limited to 'pkg/sentry/socket/control')
-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 af1a4e95f..b649dd021 100644
--- a/pkg/sentry/socket/control/control.go
+++ b/pkg/sentry/socket/control/control.go
@@ -327,7 +327,7 @@ func PackInq(t *kernel.Task, inq int32, buf []byte) []byte {
}
// PackTOS packs an IP_TOS socket control message.
-func PackTOS(t *kernel.Task, tos int8, buf []byte) []byte {
+func PackTOS(t *kernel.Task, tos uint8, buf []byte) []byte {
return putCmsgStruct(
buf,
linux.SOL_IP,