summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-06-17 22:36:15 +0000
committergVisor bot <gvisor-bot@google.com>2021-06-17 22:36:15 +0000
commit1439d34dca23d0f4af7356e8f14876e89d19d017 (patch)
tree80bb4e96d5ee6dae5b1ee29878c2e8b0a39623fe /pkg/sentry/socket
parent4dedf67521fd0931c47bcdd7186150eb58dd1185 (diff)
parentbc27a991851fdffa59f028eecfc22bdd17ccaa55 (diff)
Merge release-20210607.0-55-gbc27a9918 (automated)
Diffstat (limited to 'pkg/sentry/socket')
-rw-r--r--pkg/sentry/socket/netfilter/targets.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/sentry/socket/netfilter/targets.go b/pkg/sentry/socket/netfilter/targets.go
index 7d83e708f..ea56f39c1 100644
--- a/pkg/sentry/socket/netfilter/targets.go
+++ b/pkg/sentry/socket/netfilter/targets.go
@@ -418,7 +418,6 @@ func (*nfNATTargetMaker) unmarshal(buf []byte, filter stack.IPHeaderFilter) (tar
return nil, syserr.ErrInvalidArgument
}
- // TODO(gvisor.dev/issue/3549): Check for other flags.
// For now, redirect target only supports destination change.
if natRange.Flags != linux.NF_NAT_RANGE_PROTO_SPECIFIED {
nflog("nfNATTargetMaker: invalid range flags %d", natRange.Flags)