summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-05-27 01:20:10 +0000
committergVisor bot <gvisor-bot@google.com>2021-05-27 01:20:10 +0000
commitc81dd74d61e4cb78c8e5526fbf47084a97af8b9f (patch)
tree55f006c48392655464f8ff15e99275bd0483d916 /pkg/sentry
parent04322f810ff9ebbec03962e6ae43e2788a7bcd0f (diff)
parent097efe81a19a6ee11738957a3091e99a2caa46d4 (diff)
Merge release-20210518.0-52-g097efe81a (automated)
Diffstat (limited to 'pkg/sentry')
-rw-r--r--pkg/sentry/socket/netfilter/netfilter.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/socket/netfilter/netfilter.go b/pkg/sentry/socket/netfilter/netfilter.go
index f42d73178..e1c4b06fc 100644
--- a/pkg/sentry/socket/netfilter/netfilter.go
+++ b/pkg/sentry/socket/netfilter/netfilter.go
@@ -58,8 +58,8 @@ var nameToID = map[string]stack.TableID{
// DefaultLinuxTables returns the rules of stack.DefaultTables() wrapped for
// compatibility with netfilter extensions.
-func DefaultLinuxTables() *stack.IPTables {
- tables := stack.DefaultTables()
+func DefaultLinuxTables(seed uint32) *stack.IPTables {
+ tables := stack.DefaultTables(seed)
tables.VisitTargets(func(oldTarget stack.Target) stack.Target {
switch val := oldTarget.(type) {
case *stack.AcceptTarget: