summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2020-01-08 11:20:48 -0800
committerKevin Krakauer <krakauer@google.com>2020-01-08 11:20:48 -0800
commit446a250996d9c946d9a5279f7fd081cc1be0bd11 (patch)
tree1b4de16e0603808561a7435ce0b1fceed6748180 /pkg/sentry/socket
parent2f02e15e54d41d72eb5815a98b49c265977c6507 (diff)
Comment cleanup.
Diffstat (limited to 'pkg/sentry/socket')
-rw-r--r--pkg/sentry/socket/netfilter/netfilter.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/sentry/socket/netfilter/netfilter.go b/pkg/sentry/socket/netfilter/netfilter.go
index b7867a576..347342f98 100644
--- a/pkg/sentry/socket/netfilter/netfilter.go
+++ b/pkg/sentry/socket/netfilter/netfilter.go
@@ -376,8 +376,6 @@ func SetEntries(stack *stack.Stack, optVal []byte) *syserr.Error {
Size: replace.Size,
})
ipt.Tables[replace.Name.String()] = table
- // TODO: Do we need to worry about locking? We could write rules while
- // packets traverse tables.
stack.SetIPTables(ipt)
return nil