summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/control
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-14 21:45:53 +0000
committergVisor bot <gvisor-bot@google.com>2020-01-14 21:45:53 +0000
commit9c6da45094856c853e4664e4b19c3456dcf47769 (patch)
tree72c8d571e2f5a01e736b302f856e3285d348907b /pkg/sentry/socket/control
parent846a3068cd29032a82edc25983c235a1791433cf (diff)
parent50625cee59aaff834c7968771ab385ad0e7b0e1f (diff)
Merge release-20191213.0-115-g50625ce (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 4301b697c..1684dfc24 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,