summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2019-02-15 08:22:26 -0800
committerShentubot <shentubot@google.com>2019-02-15 08:23:27 -0800
commite34d27e8b6709809582eb0ad43c7232f2d5ab8ad (patch)
tree933969e94a969d08fb84027d68548a02d81cd255
parent0a41ea72c1f70916bdbb68d9fdfa6c438e28b5b2 (diff)
Redirect FIXME to more appropriate bug
PiperOrigin-RevId: 234147487 Change-Id: I779a6012832bb94a6b89f5bcc7d821b40ae969cc
-rw-r--r--pkg/sentry/socket/epsocket/epsocket.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/sentry/socket/epsocket/epsocket.go b/pkg/sentry/socket/epsocket/epsocket.go
index 16720456a..5e4a269c6 100644
--- a/pkg/sentry/socket/epsocket/epsocket.go
+++ b/pkg/sentry/socket/epsocket/epsocket.go
@@ -1139,11 +1139,14 @@ func setSockOptIP(t *kernel.Task, ep commonEndpoint, name int, optVal []byte) *s
MulticastAddr: tcpip.Address(req.MulticastAddr[:]),
}))
- case linux.MCAST_JOIN_GROUP, linux.IP_MULTICAST_IF:
+ case linux.IP_MULTICAST_IF:
// FIXME: Disallow IP-level multicast group options by
// default. These will need to be supported by appropriately plumbing
// the level through to the network stack (if at all). However, we
// still allow setting TTL, and multicast-enable/disable type options.
+ fallthrough
+ case linux.MCAST_JOIN_GROUP:
+ // FIXME: Implement MCAST_JOIN_GROUP.
t.Kernel().EmitUnimplementedEvent(t)
return syserr.ErrInvalidArgument